From be1aa4a7e8f66044f74e7fbe77d3ae28d26dee9b Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 14 Aug 2025 13:03:21 +0000 Subject: [PATCH] Bug 40651: Add a link to manage item search fields When debugging this reported issue, I didn't know where to add these fields, let's make it more obvious for users who can manage those To test: 1 - Be a user who can manage item search fields i.e. have manage_item_search_fields permission 2 - Go to item search 3 - Note a link to Manage item search fields 4 - Confirm it works 5 - Be a user without the permission 6 - Go to item search 7 - There is no link! Signed-off-by: Owen Leonard --- .../intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt index e586173426e..e367bfaaeb6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt @@ -293,6 +293,9 @@

You can use the following wildcard characters: % _

% matches any number of characters

_ matches only a single character

+ [% IF ( CAN_user_parameters_manage_item_search_fields ) %] +

Manage custom fields for item search

+ [% END %]
-- 2.39.5