[Koha-patches] [PATCH] [SIGNED-OFF] Adds "do-not-truncate" in the search queries of Heading.pm
Stéphane Delaune
stephane.delaune at biblibre.com
Tue Apr 5 10:08:12 CEST 2011
From: Frédérick Capovilla <frederick.capovilla at sys-tech.net>
Signed-off-by: Stéphane Delaune <stephane.delaune at biblibre.com>
---
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.7.0.4
More information about the Koha-patches
mailing list