From 26ae8787371c81180ab1f3a3c2b10c99eb93fdfd 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 appear here. Test plan; Edit a basket, click "Add user" to select a manager. Notice the hint about the permission. Signed-off-by: Loïc Vassaux--Artur Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer (cherry picked from commit 8a478f912fcd0eb6018449c8264497e55f9ae77e) Signed-off-by: Fridolin Somers (cherry picked from commit a50ab3e6ddc524c2cf9d5100060080729e5aa11b) Signed-off-by: Lucas Gass --- 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 d4ba7ec3be..e7eb31f156 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -110,7 +110,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.39.5