Bug 40854

Summary: Staff interface search results browsing is broken
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: SearchingAssignee: Andrew Fuerste-Henry <andrew>
Status: RESOLVED FIXED QA Contact: Marcel de Rooy <m.de.rooy>
Severity: trivial    
Priority: P5 - low CC: andreas.jonsson, angela.berrett, david, ehoffman, emily.lamancusa, fridolin.somers, lucas, m.de.rooy, mspinney
Version: MainKeywords: rel_25_05_candidate
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
This fixes the sidebar menu on the record details page in the staff interface, so that the search results browsing tool appears. A change from Bug 37222 - Standardize markup for sidebar menus (added to Koha 25.05) was causing the search results browser tool not to show on a record's details page after selecting a title from the search results.
Version(s) released in:
25.11.00,25.05.05
Circulation function:
Bug Depends on: 37222    
Bug Blocks:    
Attachments: Bug 40854: Correct menu name in browser.js
Bug 40854: Correct menu name in browser.js
Bug 40854: Correct menu name in browser.js

Description Andrew Fuerste-Henry 2025-09-22 18:52:31 UTC
Bug 37222 renamed the sidebar menu on the biblio details page, which is causing the results browsing tool to not appear.
Comment 1 Andrew Fuerste-Henry 2025-09-22 18:57:17 UTC
Created attachment 186739 [details] [review]
Bug 40854: Correct menu name in browser.js

To test:
1 - perform a search in the staff interface, click a title to go to biblio details
2 - note lack of search results browsing tools at top left of page
3 - apply patch
4 - repeat your search, click a title to go to biblio details
5 - note browsing results tools at top left of page
Comment 2 Andrew Fuerste-Henry 2025-09-23 18:11:05 UTC
Created attachment 186841 [details] [review]
Bug 40854: Correct menu name in browser.js

To test:
1 - perform a search in the staff interface, click a title to go to biblio details
2 - note lack of search results browsing tools at top left of page
3 - apply patch
4 - repeat your search, click a title to go to biblio details
5 - note browsing results tools at top left of page

Signed-off-by: Kevin Kellenberger <kkellenberger@mrcpl.org>
Comment 3 Marcel de Rooy 2025-09-26 06:47:44 UTC
Created attachment 186957 [details] [review]
Bug 40854: Correct menu name in browser.js

To test:
1 - perform a search in the staff interface, click a title to go to biblio details
2 - note lack of search results browsing tools at top left of page
3 - apply patch
4 - repeat your search, click a title to go to biblio details
5 - note browsing results tools at top left of page

Signed-off-by: Kevin Kellenberger <kkellenberger@mrcpl.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 4 Lucas Gass (lukeg) 2025-09-26 15:12:49 UTC
Nice job all! 

Pushed to main for 25.11.00.
Comment 5 Emily Lamancusa (emlam) 2025-09-26 17:59:09 UTC
*** Bug 40887 has been marked as a duplicate of this bug. ***
Comment 6 Angela Berrett 2025-09-26 20:27:20 UTC
Is this able to be backported into 25.05?
Comment 7 Phil Ringnalda 2025-10-16 23:01:51 UTC
*** Bug 41014 has been marked as a duplicate of this bug. ***
Comment 8 Paul Derscheid 2025-10-23 21:11:07 UTC
Nice work everyone!

Pushed to 25.05.x
Comment 9 Fridolin Somers 2025-10-31 13:47:35 UTC
Depends on Bug 37222 not in 24.11.x
Comment 10 David Nind 2025-10-31 23:06:32 UTC
Bug fix, no changes to the manual required.