[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-bugs] [Bug 1688] search string starting with '*' kills search
From: |
bugzilla-daemon |
Subject: |
[Koha-bugs] [Bug 1688] search string starting with '*' kills search |
Date: |
Fri, 21 Dec 2007 15:21:14 -0800 (PST) |
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1688
------- Comment #2 from address@hidden 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.