]> git.koha-community.org Git - koha.git/commit
Bug 31421: Add a limited option to template plugin
authorNick Clemens <nick@bywatersolutions.com>
Thu, 20 Oct 2022 14:13:37 +0000 (14:13 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 27 Oct 2022 12:42:57 +0000 (09:42 -0300)
commit1fc56e0e47d07d2eadcdb62c6a5740aa9d51c6b2
tree4e92dcc586bad31df1a7ca1e7d004f06ae6451a3
parent29754226ea3b6bdaf896e5b8d19f44b1ed551e11
Bug 31421: Add a limited option to template plugin

This adds a specific 'limited' routine to the Categories plugin, and uses
it for the new patron dropdowns

To test:
1 - Limit a patron category to some branches
2 - Sign in not at one of those
3 - Confirm the new patron dropdowns don't include the category

Bug 31421: (follow-up) Add POD

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Template/Plugin/Categories.pm
koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc