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>
(cherry picked from commit e7b960e655)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
(cherry picked from commit f45b325307)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Nick Clemens 2025-08-14 13:03:21 +00:00 committed by Fridolin Somers
parent 95ca056cdc
commit 37bce14ff9
No known key found for this signature in database
GPG Key ID: 9A8E73E2A8B96537
1 changed files with 3 additions and 0 deletions

View File

@ -272,6 +272,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">