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

            Bug ID: 24575
           Summary: Search for locations and collections broken when using
                    ICU
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Searching - Zebra
          Assignee: [email protected]
          Reporter: [email protected]

We found a strange bug when using ICU in 17.11 and 18.11 after upgrading from
Jessie to Stretch, to be confirmed in later versions:

Searching for locations and collections from advanced search in the OPAC/staff
client doesn't work using the checkboxes.

Redundant quotes are no longer ignored. 

We found that removing these lines from Search.pm fixes the issue for us:

if ( $k !~ /mc-i(tem)?type/ ) {

    # in case the mc-ccode value has complicating chars like ()'s inside it we
wrap in quotes

    $this_limit =~ tr/"//d;

   $this_limit = $k.":'".$v."'";

}

The patch is backward compatible with Jessie.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to