Bugzilla – Attachment 185592 Details for
Bug 40651
Item search custom field selection is not populated in shareable link
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40651: Add a link to manage item search fields
Bug-40651-Add-a-link-to-manage-item-search-fields.patch (text/plain), 1.71 KB, created by
Brendan Lawlor
on 2025-08-20 15:52:06 UTC
(
hide
)
Description:
Bug 40651: Add a link to manage item search fields
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2025-08-20 15:52:06 UTC
Size:
1.71 KB
patch
obsolete
>From d4fe4e0229e7657f1d285c74e141483cbd3b189e Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >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 <oleonard@myacpl.org> >Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org> >--- > .../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 e586173426..e367bfaaeb 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 @@ > <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"> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40651
:
185391
|
185392
|
185400
|
185401
|
185591
| 185592