[Koha-bugs] [Bug 31841] Shelving location search in staff interface sometimes creates invalid Zebra query

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 29 10:06:41 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31841

Magnus Enger <magnus at libriotech.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #148848|0                           |1
        is obsolete|                            |

--- Comment #16 from Magnus Enger <magnus at libriotech.no> ---
Created attachment 148856
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148856&action=edit
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 at libriotech.no>
Works as advertised.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list