]> 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)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Mon, 14 Nov 2022 10:31:42 +0000 (11:31 +0100)
commit69ac0261a9f0e1266cc156944b7c3c19a15c20a3
treed58de1dbf8de463dd96265f8c55679c21756a6e1
parent9cf7970159fb1f6fbd2f28226cd68a792948bac0
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>
(cherry picked from commit 1fc56e0e47d07d2eadcdb62c6a5740aa9d51c6b2)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit e207c09ee303b7b957e3f260531ca1fb22666536)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
Koha/Template/Plugin/Categories.pm
koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc