Bug 30527 - Limits are not correctly parsed when query contains CCL
Summary: Limits are not correctly parsed when query contains CCL
Status: RESOLVED DUPLICATE of bug 30528
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Zebra (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-13 14:52 UTC by Nick Clemens (kidclamp)
Modified: 2022-04-29 07:33 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2022-04-13 14:52:59 UTC
This was made more apparent by bug 17170 - when a special limit that needs parsing is passed along witha query containing CCL indexes then the limits are not parsed (with exception of 'available' which is handled)

This is due to a clause the prevents the normal parsing in C4::Search::buildQuery

To test:
1 - Perform advanced search in staff client
2 - Select 'More options'
3 - In first box with keyword as index type 'ti:a'
4 - Enter a year into Limits
5 - Search
6 - You see only 'ti:a' in description, and search fails

with bug 17170
1 - Save a search filter visible in staff client
2 - Perform a search like 'ti:a'
3 - Attempt to filter using custom filter
4 - In plack intranet error log:
[2022/04/13 14:14:51] [WARN] WARNING: query problem with ti=a and search_filter=94 ZOOM error 10014 "CCL parsing error" (addinfo: "Unknown qualifier") from diag-set 'ZOOM' at /kohadevbox/koha/C4/Search.pm line 352.
Comment 1 Magnus Enger 2022-04-29 07:33:37 UTC

*** This bug has been marked as a duplicate of bug 30528 ***