Bug 9607

Summary: Pagination wrong if OPACShowUnusedAuthorities is used
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: SearchingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P5 - low CC: bob, chris, katrin.fischer, marjorie.barry-vila
Version: Main   
Hardware: All   
OS: All   
URL: /cgi-bin/koha/opac-authorities-home.pl?op=do_search&type=opac&operator=contains&value=a&marclist=any&and_or=and&orderby=HeadingAsc
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: authorities results

Description Nicole C. Engard 2013-02-13 13:28:30 UTC
Created attachment 15297 [details]
authorities results

See attached. When you search authorities with  OPACShowUnusedAuthorities set to "don't show" it doesn't show the usual 20 per page instead it only shows those on the page that are used and it makes for a very ugly search results page.
Comment 1 Katrin Fischer 2013-02-13 13:41:58 UTC
Hi Nicole, Jared noted this in his commit message and documentation for the feature. It's the same problem as with opachiddenitems where the numbering is off and therefore probably a WONTFIX for now. 
Using the option is optional and OFF by default, so libraries can choose to use it or not.
Comment 2 Nicole C. Engard 2013-02-13 17:44:16 UTC
Can't it be low priority instead of 'wontfix'? A fix would be good.
Comment 3 Chris Cormack 2013-02-13 20:09:58 UTC
(In reply to comment #2)
> Can't it be low priority instead of 'wontfix'? A fix would be good.

Awesome you are volunteering to fix it :)
Comment 4 Katrin Fischer 2019-04-27 22:06:26 UTC
Changing module to Searching as I think the fix would be to remove the unused authorities from the search result before paging them.