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: oleon...@myacpl.org
          Reporter: fridolin.som...@biblibre.com
        QA Contact: testo...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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