[Koha-patches] [PATCH] add windows quote to ignored chars

Galen Charlton galen.charlton at liblime.com
Wed May 13 16:19:59 CEST 2009


Hi,

On Mon, May 11, 2009 at 1:55 PM, Wagner,  Jane <jwagner at ptfs.com> wrote:
> This reminds me of a problem I've seen, but haven't yet researched.  You can't search for a title with a colon in it (e.g., 3:10 to Yuma) or, I think, a question mark.  If you remove the colon or question mark, you can search them.  Would the file modified in this patch be where those fixes would be made?

It's more likely an issue with the code in C4/Search.pm that parses
queries - the colon is used to separate an index code from the search
term (e.g., try ti:cars in in OPAC), so a search for "3:10" is
misinterpreted as a search for 10 in the nonexistent index '3'.  I'll
be doing some poking around with the query processor in the next
couple weeks or so, but anybody who wants to take a crack at this is
more than welcome to as well.

Regards,

Galen
-- 
Galen Charlton
VP, Research & Development, LibLime
galen.charlton at liblime.com
p: 1-888-564-2457 x709
skype: gmcharlt



More information about the Koha-patches mailing list