From 0f4edffc16adacb439601f9051bacd89869018f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9rick=20Capovilla?= Date: Tue, 5 Apr 2011 10:08:12 +0200 Subject: [PATCH] Bug 5410 : Adds "do-not-truncate" in the search queries of Heading.pm MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Delaune Signed-off-by: Chris Cormack --- C4/Heading.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Heading.pm b/C4/Heading.pm index 9d7d98ae7f..643d8208a9 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; -- 2.39.5