Bug 20533

Summary: Deduplicate entries and add paging for call number browser plugin
Product: Koha Reporter: Kelly McElligott <kelly>
Component: SearchingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: kelly, kyle, rmcompton
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Kelly McElligott 2018-04-06 00:25:07 UTC
The call number search plugin has great functionality- it would be great to get a little bit more features with this.  There is no scrolling feature or the ability to look at the next page of results, so it would be nice to de-dup on the call number.  Then the same call number is not repeated over and over again and then more unique call numbers can be displayed.  In addition, if more than one title has the same call number, it is not helpful to see that multiple times in this search also.
Comment 1 Kyle M Hall 2018-04-11 16:59:07 UTC
So, if I understand this correct, the changes needed would be:
A) Dedupe the list of callnumbers
B) Allow paging

A) Should be easy with a group by itemcallnumber in the queries
B) Should also be fairly easy using LIMIT
Comment 2 Kelly McElligott 2019-05-30 21:49:53 UTC
Correct Kyle!
Comment 3 Rhiana 2021-04-13 17:48:22 UTC
I was just thinking about this kind of functionality! It would be hugely beneficial to our cataloging team to be able to scroll or select NEXT pages in call number search to review additional results.
Comment 4 Katrin Fischer 2021-04-17 13:08:44 UTC
Maybe if we deduplicate, we could still show the numer of times the call number was already used. I think deduplicating on titles could maybe be an option. If you want to check if the call number fits the topic, it would still be helpful to see what other titles it has already been used for.