Bugzilla – Attachment 141950 Details for
Bug 31841
Shelving location search in staff interface sometimes creates invalid Zebra query
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31841: Use location,wrdl when searching Shelving location
Bug-31841-Use-locationwrdl-when-searching-Shelving.patch (text/plain), 1.90 KB, created by
David Cook
on 2022-10-17 03:49:14 UTC
(
hide
)
Description:
Bug 31841: Use location,wrdl when searching Shelving location
Filename:
MIME Type:
Creator:
David Cook
Created:
2022-10-17 03:49:14 UTC
Size:
1.90 KB
patch
obsolete
>From af5c5ae54562d7bdb5feb8a0e4d735bf00065291 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Mon, 17 Oct 2022 03:45:48 +0000 >Subject: [PATCH] Bug 31841: Use location,wrdl when searching Shelving location > >The "location" index only has a word index defined, so we need >to specify the wrdl qualifier when searching it via the staff >interface dropdown menu > >Test plan: >1) Change QueryAutoTruncate to "only if * is added" >2) Change IntranetCatalogSearchPulldown to "Show" >3) Search for "Shelving location" of "GEN" in catalogue >search bar >4) Note no results returned > >5) Apply patch >6) koha-plack --restart kohadev > >7) Repeat Step #3 >8) Note that results appear for 'location,wrdl: GEN' >--- > koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc >index d8df1d34b2..f668fdcc9b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc >@@ -101,10 +101,10 @@ > [% ELSE %] > <option value="bc">Barcode</option> > [% END %] >- [% IF ms_location %] >- <option selected="selected" value="location" title="Enter location code value for search">Shelving location (code)</option> >+ [% IF ms_locationcommawrdl %] >+ <option selected="selected" value="location,wrdl" title="Enter location code value for search">Shelving location (code)</option> > [% ELSE %] >- <option value="location" title="Enter location code value for search">Shelving location (code)</option> >+ <option value="location,wrdl" title="Enter location code value for search">Shelving location (code)</option> > [% END %] > [% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %] > [% IF ms_identcommaphr %] >-- >2.30.2
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 31841
:
141950
|
148848
|
148856
|
148916