http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2422

Nicholas van Oudtshoorn <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |---
             Status|CLOSED                      |REOPENED
                 CC|                            |[email protected]

--- Comment #1 from Nicholas van Oudtshoorn <[email protected]> ---
We've had this issue on both 3.18 and now 3.20. Doing a search that brings up
pages yields the first page of results. But clicking on another page takes you
to a dreaded "No results found page". It seems that the browser (Firefox, if it
helps) seems to be thrown by what's in the query_cgi parameter. For instance,
this link to the second page -
http://library.pbc.wa.edu.au/cgi-bin/koha/opac-search.pl?q=bible%20theology%20%23relevance_asc&offset=20&sort_by=relevance_asc
- doesn't work.

I've fixed it by adjusting the file , changing very instance of
   [% query_cgi |html %]
to
   [% query_cgi |html |replace('%23.*', '') %]

The generated link -
http://library.pbc.wa.edu.au/cgi-bin/koha/opac-search.pl?q=bible%20theology%20&offset=20&sort_by=relevance_asc
- now works as expected... It seems that this removes the sort order from the
query - which is fine, since we put it in again.

Thoughts? I'm not sure modifying page-numbers.inc is the best place to be doing
this...

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to