Bug 41014 - Result browser not showing up in staff interface
Summary: Result browser not showing up in staff interface
Status: RESOLVED DUPLICATE of bug 40854
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: 25.05
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-14 13:07 UTC by Andreas Jonsson
Modified: 2025-10-16 23:01 UTC (History)
1 user (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Jonsson 2025-10-14 13:07:00 UTC
The result browser is rendered from a javascript and inserted before the element with id="menu".

But in bug 37222 the id changed to "biblio-view-menu", so the corresponding change needs to be made to the browser javascript.

diff --git a/koha-tmpl/intranet-tmpl/prog/js/browser.js b/koha-tmpl/intranet-tmpl/prog/js/browser.js
index 5a28fc8f198..a9cbf8ada97 100644
--- a/koha-tmpl/intranet-tmpl/prog/js/browser.js
+++ b/koha-tmpl/intranet-tmpl/prog/js/browser.js
@@ -165,7 +165,7 @@ KOHA.browser = function (searchid, biblionumber) {
                             __("Next") +
                             '"><i class="fa fa-arrow-right"></i></a>';
                     }
-                    $("#menu").before(
+                    $("#biblio-view-menu").before(
                         '<div class="browse-controls"><div class="browse-controls-inner"><div class="browse-label"><a href="' +
                             searchURL +
                             '" id="browse-return-to-results" class="searchwithcontext"><i class="fa fa-list"></i> ' +
Comment 1 Phil Ringnalda 2025-10-16 23:01:51 UTC

*** This bug has been marked as a duplicate of bug 40854 ***