[Koha-bugs] [Bug 6786] False detection of index names in Search; make index names case insensitive

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Dec 4 17:08:01 CET 2011


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

--- Comment #7 from M. de Rooy <m.de.rooy at rijksmuseum.nl> 2011-12-04 16:08:01 UTC ---
(In reply to comment #6)
> this breaks searches for Control-number as used to link back from analytics to
> serials using $w in MARC21. 
> 
> This needs to be reverted until a better fix can be found that does not break
> existing features.

Good catch, Katrin. I think we should not revert it; only a small change in the
regex in buildQuery is needed. Problem here seems to be the hyphen in
Control-number.

I tested this one:
/(?:^|\W)([\w-]+)(,[\w-]+)*[:=]/g
And it seems to work.

I hope to send a follow up patch for this tomorrow. If you are faster, that is
fine too.

-- 
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.
You are watching all bug changes.


More information about the Koha-bugs mailing list