[Koha-bugs] [Bug 25765] New: Replace Branches.GetLoggedInBranchcode with use of logged_in_user in templates
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 16 09:45:34 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25765
Bug ID: 25765
Summary: Replace Branches.GetLoggedInBranchcode with use of
logged_in_user in templates
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Templates
Assignee: oleonard at myacpl.org
Reporter: fridolin.somers at biblibre.com
QA Contact: testopia at bugs.koha-community.org
The template plugin Branches contains a method GetLoggedInBranchcode that
returns branch code of the current loggedin user.
This is a bit off scope of the plugin and can easily be replaced by
logged_in_user variable (a Koha::Patron object used is most templates) :
logged_in_user.library.branchcode
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list