Bug 30900

Summary: "Error searching for analytic records"
Product: Koha Reporter: Magnus Enger <magnus>
Component: Searching - ZebraAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: minor    
Priority: P5 - low CC: arm, jyorio
Version: 21.11   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Screenshot of error message

Description Magnus Enger 2022-06-03 13:48:20 UTC
Created attachment 135680 [details]
Screenshot of error message

On 21.11.05 using Zebra, this message is displayed between the "New", "Edit" etc buttons, and the title of *some* records: 

  There was an error searching for analytic records, please see the logs for details.

The logs say: 

==> /var/log/koha/koha/plack-error.log <==
CCL parsing error (10014) Unknown qualifier ZOOM for query: Host-item=(Psychology and law =) at /usr/share/koha/lib/C4/Search.pm line 242.
Warning from simple_search_compat: 'CCL parsing error (10014) Unknown qualifier ZOOM' at /usr/share/koha/lib/Koha/Biblio.pm line 540.

For a while I thought the message only displayed for records with a trailing colon in 245$a, but on looking at more records that does not seem to be the case.
Comment 1 Magnus Enger 2022-06-08 06:23:09 UTC
The error is not displayed if UseControlNumber = Use.
Comment 2 Agnes Rivers-Moore 2022-06-10 21:22:24 UTC
Same - I have two examples, newly added titles. Both have Title colon Subtitle. Removing the colon gets rid of the error message, or turning the system preference to Use also gets rid of the error. We had no intention of using the parent/child linking that the preference seems intended for, and the MARC records had no content in the 773 field.
Comment 3 Katrin Fischer 2022-07-16 19:46:03 UTC

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