Config page_query_string value overwritten by Pagination class |
|||
|---|---|---|---|
| Date: | 07/28/2008 | Severity: | Major |
| Status: | Not a Bug | Reporter: | elvix |
| Version: | 1.6.3 | ||
| Keywords: | Libraries, Pagination Class | ||
Description
Per the user manual, page_query_string should override the default pagination style, regardless of whether query strings are enabled.
Currently, on lines 123 and 173 the “OR” statment allows the enable_query_strings setting to effectively override whatever you’ve set in your pagination config.
So, if you have enable_query_strings set to TRUE, the page_query_string setting has no effect, breaking pagination through your entire app.
I assume that changing both OR’s to AND would solve the problem. But I’ve been wrong before ![]()
