From 96339d3d435b15bfde0a9957c4b2f176d3ce9a5c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 22 Jan 2024 22:07:24 +0100 Subject: [PATCH] Bug 35865: Add missing hint about permissions when adding managers to a basket When searching for managers for an acquisition basket, the list of patrons is limited to patrons with the baskets_managers permission. For other patron searches there is a hint about the restriction but it does not appears here. Test plan; Edit a basket, click "Add user" to select a manager. Notice the hint about the permission. --- koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc index 11fc20a8e2b..21f041efb8b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -111,7 +111,7 @@ [% IF filter == 'suggestions_managers' %]
Only staff with superlibrarian or suggestions_manage permissions are returned in the search results
- [% ELSIF filter == 'orders_managers' %] + [% ELSIF filter == 'orders_managers' OR filter == 'baskets_managers' %]
Only staff with superlibrarian or acquisitions permissions (or order_manage permission if granular permissions are enabled) are returned in the search results
[% ELSIF filter == 'funds_owners' OR filter == 'funds_users' %]
Only staff with superlibrarian or acquisitions permissions (or budget_modify permission if granular permissions are enabled) are returned in the search results
-- 2.34.1