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 <oleonard@myacpl.org>
Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2025-08-14 13:03:21 +00:00 committed by Lucas Gass
parent 14b485c6db
commit e7b960e655
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 3 additions and 0 deletions

View File

@ -293,6 +293,9 @@
<p class="hint">You can use the following wildcard characters: % _</p>
<p class="hint">% matches any number of characters</p>
<p class="hint">_ matches only a single character</p>
[% IF ( CAN_user_parameters_manage_item_search_fields ) %]
<p><a href="/cgi-bin/koha/admin/items_search_fields.pl">Manage custom fields for item search</a></p>
[% END %]
</fieldset>
<fieldset>
<div class="form-field">