https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28650 Bug ID: 28650 Summary: Assumed branchcode variable appears to be empty Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: m.de.rooy@rijksmuseum.nl QA Contact: testopia@bugs.koha-community.org Found on bug 27948, but it occurs more often. We expect the variable branchcode in the template just like e.g. the lang variable. And we use it in a call to KohaNews.get. Example from opac-suggestions template: [% SET opacsuggestion = KohaNews.get( location => "OpacSuggestioninstructions", lang => lang, library => branchcode ) %] But unfortunately we do not have a general branchcode variable. So what we get is the All branches output, not the branch one. Should we fill branchcode in Auth.pm? Or call Branches.GetLoggedInBranchcode in the template? -- You are receiving this mail because: You are watching all bug changes.