---
 C4/Search.pm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/C4/Search.pm b/C4/Search.pm
index e350ff3..148eeee 100755
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -1312,7 +1312,8 @@ 
s/\[(.?.?.?.?)$tagsubf(.*?)]/$1$subfieldvalue$2\[$1$tagsubf$2]/g;
             for my $highlight_field ( $marcrecord->fields ) {
     
     # FIXME: need to skip title, subtitle, author, etc., as they are handled 
below
-                next if $highlight_field->tag() =~ /(^00)/;    # skip fixed 
fields
+               # Skip fixed and local fields
+                next if $highlight_field->tag() =~ /^00|^9/;
                 for my $subfield ($highlight_field->subfields()) {
                     my $match;
                     next if $subfield->[0] eq '9';
-- 
1.5.3.7

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to