[Koha-bugs] [Bug 30528] New: Limits are not correctly parsed when query contains CCL

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 13 16:53:19 CEST 2022


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

            Bug ID: 30528
           Summary: Limits are not correctly parsed when query contains
                    CCL
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Searching - Zebra
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com

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.

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


More information about the Koha-bugs mailing list