[Koha-bugs] [Bug 25765] Replace LoginBranchname and LoginBranchcode with use of Branches template plugin

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 16 14:07:41 CEST 2020


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

--- Comment #3 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 105910
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105910&action=edit
Bug 25765: Replace LoginBranchname and LoginBranchcode with use of Branches
template plugin

The template plugin Branches contains a method GetLoggedInBranchcode that
returns current branch code.
This patch adds GetLoggedInBranchname to get current branch name.
It is used to replace vars LoginBranchname and LoginBranchcode sent to all
templates in C4/Auth.pm.

In labels and patrons cards modules, I choose to remove a unseless display of
current branch in a hint.

In acqui/acqui-home.tt, I choose to remove a useless display of current
branch and also because table of founds contains a filter on library.

Test plan:
Check pages source code to see branch code or name is correct.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list