Bug 31278 - ISBN and ISSN searching should quote the query terms
Summary: ISBN and ISSN searching should quote the query terms
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal (vote)
Assignee: Tomás Cohen Arazi
QA Contact: Testopia
URL:
Keywords:
Depends on: 23919
Blocks:
  Show dependency treegraph
 
Reported: 2022-08-01 18:00 UTC by Tomás Cohen Arazi
Modified: 2022-08-02 12:24 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomás Cohen Arazi 2022-08-01 18:00:39 UTC
It doesn't. To reproduce:
1. Open your logs:
   $ restart_all ; tail -f /var/log/koha/kohadev/*.log
2. Open the advanced search page
3. Search on ISBN and/or ISSN, for the term 123:456=789
=> FAIL: The logs =~ m/
[WARN] WARNING: query problem with nb=(rk=(123:456=789))  ZOOM error 10014 "CCL parsing error" (addinfo: "Unknown qualifier") from diag-set 'ZOOM' at /kohadevbox/koha/C4/Search.pm line 350.
Comment 1 Katrin Fischer 2022-08-02 12:24:34 UTC
Quoting works nicely where we construct the searches from data int he records, but not sure about auto-quoting manual inputs because I believe this disables truncation with * in Zebra and possibly in Elasticsearch has a similar effect?