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

--- Comment #7 from M. de Rooy <[email protected]> 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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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