From 3c02ece03b25273a4210c6e5cb746ffbc1f64102 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Fr=C3=A9d=C3=A9rick=20Capovilla?= Date: Mon, 7 Feb 2011 09:41:19 -0500 Subject: [PATCH] Adds "do-not-truncate" in the search queries of Heading.pm --- C4/Heading.pm | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Heading.pm b/C4/Heading.pm index 9d7d98a..643d820 100644 --- a/C4/Heading.pm +++ b/C4/Heading.pm @@ -106,7 +106,7 @@ heading. sub authorities { my $self = shift; - my $query = qq(Match-heading,ext="$self->{'search_form'}"); + my $query = qq(Match-heading,do-not-truncate,ext="$self->{'search_form'}"); $query .= $self->_query_limiters(); my ($error, $results, $total_hits) = SimpleSearch( $query, undef, undef, [ "authorityserver" ] ); return $results; @@ -123,7 +123,7 @@ that are a preferred form of the heading. sub preferred_authorities { my $self = shift; - my $query = "Match-heading-see-from,ext='$self->{'search_form'}'"; + my $query = "Match-heading-see-from,do-not-truncate,ext='$self->{'search_form'}'"; $query .= $self->_query_limiters(); my ($error, $results, $total_hits) = SimpleSearch( $query, undef, undef, [ "authorityserver" ] ); return $results; -- 1.5.6.5