[Koha-bugs] [Bug 2422] Cataloging searches with more than 1 page results show blank pages after page 1

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 2 08:11:15 CEST 2016


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

--- Comment #13 from Nicholas van Oudtshoorn <vanoudt at gmail.com> ---
Created attachment 51959
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51959&action=edit
Attempt to fix

Hmmmm - got the same problem happening with the system upgraded to 16.05.
If I search for something such as "worship", I get the first page. But the
pager creates links of the form:

https://library.pbc.wa.edu.au/cgi-bin/koha/opac-search.pl?q=worship%20%23relevance_asc&offset=20&sort_by=relevance_asc

Clicking on such a link brings up a "No results found" page.

Modifying this link to be of the form:

https://library.pbc.wa.edu.au/cgi-bin/koha/opac-search.pl?q=worship&offset=20&sort_by=relevance_asc

that is, removing the %20%23relevance_asc , allows the search to work.

This also happens on Intranet searches.
The attached fix seems to fix it, but I'm pretty sure it's just tidying over a
problem elsewhere...

Note: our site is currently live with this fix applied. But you can see the old
behaviour by clicking on the first link above!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list