Bug 33443

Summary: The "X titles found locally" not displayed
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: ERMAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P5 - low CC: jonathan.druart, jonathan.field, martin.renvoize, pedro.amorim
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 32939    
Bug Blocks:    
Attachments: Bug 33443: Restore "X titles found locally" link from EBSCO title list

Description Jonathan Druart 2023-04-07 08:48:38 UTC
When you are in the EBSCO package or title list view, and you start a new search, there is a link to the local data: "X titles found locally" or "X packages found locally".

However if you are landing into this package with some filters in the URL, the link to local eholdings is not displayed.

/cgi-bin/koha/erm/eholdings/ebsco/titles?publication_title=art

for instance
Comment 1 Jonathan Druart 2023-04-07 08:52:17 UTC Comment hidden (obsolete)
Comment 2 Jonathan Druart 2023-04-07 08:52:33 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2023-04-07 08:58:50 UTC Comment hidden (obsolete)
Comment 4 Jonathan Druart 2023-04-07 09:03:52 UTC
Created attachment 149255 [details] [review]
Bug 33443: Restore "X titles found locally" link from EBSCO title list

The link is missing, and there was a JS error in the console
Uncaught (in promise) ReferenceError: filters is not defined
Comment 5 Jonathan Druart 2023-04-07 09:06:04 UTC
and... I think this is fixed by bug 33066.
Comment 6 Pedro Amorim 2023-04-11 11:29:18 UTC
Can't reproduce the problem before applying patch.
Can't apply patch because already applied from bug 33066.