[Koha-bugs] [Bug 1688] search string starting with '*' kills search
bugzilla-daemon at pippin.metavore.com
bugzilla-daemon at pippin.metavore.com
Sat Dec 22 00:21:14 CET 2007
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1688
------- Comment #2 from galen.charlton at liblime.com 2007-12-21 15:21 -------
Running version 2.0.14 (on arwen). Does that matter? The failing regex is in
search term highlight code, not from a ZOOM exception.
my $searchhighlightblob;
for my $highlight_field ($marcrecord->fields) {
next if $highlight_field->tag() =~ /(^00)/; # skip fixed fields
my $match;
my $field = $highlight_field->as_string();
for my $term ( keys %$span_terms_hashref ) {
if (($field =~ /$term/i) && (length($term) > 3)) {
$field =~ s/$term/<span class=\"term\">$&<\/span>/gi;
$match++;
}
}
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the Koha-bugs
mailing list