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'
Signed-off-by: Magnus Enger <magnus@libriotech.no>
Works as advertised.
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 0d125917a1
)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
This commit is contained in:
parent
572ad39a65
commit
619239beea
1 changed files with 3 additions and 3 deletions
|
@ -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 %]
|
||||
|
|
Loading…
Reference in a new issue