summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-06-23 16:49:23 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-06-23 18:18:56 +0200
commitf82b92999e8309155df3e665e25a261c26b0e93d (patch)
treef92bfd34908e88e068292b7b1d2897fa4c4c5d08 /user_guide_src/source/libraries
parent282e02c7d66085d3c6d4c85eed4a1581389b5e63 (diff)
Added ['reuse_query_string'] to Pagination.
This allows automatic repopulation of query string arguments, combined with normal URI segments.
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r--user_guide_src/source/libraries/pagination.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/pagination.rst b/user_guide_src/source/libraries/pagination.rst
index c4398d739..15b3675df 100644
--- a/user_guide_src/source/libraries/pagination.rst
+++ b/user_guide_src/source/libraries/pagination.rst
@@ -112,6 +112,21 @@ the pagination link will become.
Note that "per_page" is the default query string passed, however can be
configured using $config['query_string_segment'] = 'your_string'
+$config['reuse_query_string'] = FALSE;
+====================================
+
+By default your Query String arguments (nothing to do with other
+query string options) will be ignored. Setting this config to
+TRUE will add existing query string arguments back into the
+URL after the URI segment and before the suffix
+
+::
+
+ http://example.com/index.php/test/page/20?query=search%term
+
+This helps you mix together normal :doc:`URI Segments <../general/urls>`
+as well as query string arguments, which until 3.0 was not possible.
+
***********************
Adding Enclosing Markup
***********************