[Koha-bugs] [Bug 5693] New: if parentheses used in ccode then searches against ccode fail

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 4 04:11:29 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5693

           Summary: if parentheses used in ccode then searches against
                    ccode fail
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Searching
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: reed at catalyst.net.nz
         QAContact: koha-bugs at lists.koha-community.org
   Estimated Hours: 0.0


If you set a CCODE value which contains parentheses like "S(B)" then when you
search against it the parentheses confuse the search query parser per:

opac-search.pl: WARNING: query problem with  (mc-ccode=S(B)) ZOOM error 10014
"CCL parsing error" (addinfo: "')' expected") from diag-set 'ZOOM' at
/home/reed/Catalyst/koha/koha/C4/Search.pm line 346.

Patch provide wraps the mc-ccode value in quotes to get around this.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list