improve authority heading matching (partial fix for 1905)
authorGalen Charlton <galen.charlton@liblime.com>
Tue, 4 Mar 2008 00:25:03 +0000 (13:25 +1300)
committerJoshua Ferraro <jmf@liblime.com>
Tue, 4 Mar 2008 10:48:00 +0000 (04:48 -0600)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Heading.pm

index 94592e6..e57438f 100644 (file)
@@ -117,7 +117,7 @@ heading.
 
 sub authorities {
     my $self = shift;
-    my $query = "Match-heading,ext='$self->{'search_form'}'";
+    my $query = qq(Match-heading,ext="$self->{'search_form'}");
     $query .= $self->_query_limiters();
     my $results = SimpleSearch($query, "authorityserver");
     return $results;