https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41014

            Bug ID: 41014
           Summary: Result browser not showing up in staff interface
 Change sponsored?: ---
           Product: Koha
           Version: 25.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Searching
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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> ' +

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to