https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42584 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Failed QA CC| |pedro.amorim@openfifth.co.u | |k --- Comment #14 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Hi all, The navbar content filters by the staff user's home library (logged_in_user.branchcode) instead of the library they're logged in at. The module home page blocks (IntranetmainUserblock, StaffPatronsHome, StaffCataloguingHome, etc.) all use Branches.GetLoggedInBranchcode, which follows 'Set library', and since the navbar is shown on every page alongside those blocks it should likely behave the same way. To reproduce: 1) Go to http://localhost:8081/cgi-bin/koha/tools/additional-contents.pl?op=add_form&category=html_customizations 2) Add an entry with 'Display location' 'StaffNavbarExtraContent', 'Library' 'Midway', content MIDWAY. Save. 3) Add another one with 'Library' 'Centerville', content CENTERVILLE. Save. 4) Click the library name in the top right, then 'Set library', and pick 'Midway' 5) The navbar shows CENTERVILLE, but it should show MIDWAY 6) For comparison, do the same with 'IntranetmainUserblock' and go to http://localhost:8081/cgi-bin/koha/mainpage.pl. It correctly shows MIDWAY. Swapping 'logged_in_user.branchcode || default_branch' for 'Branches.GetLoggedInBranchcode' in header.inc should fix it. -- You are receiving this mail because: You are watching all bug changes.