Bugzilla – Attachment 3077 Details for
Bug 5410
"Right truncation not supported" error when running link_bibs_to_authorities.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Adds "do-not-truncate" in the search queries of Heading.pm (Correct patch formatting)
0001-Adds-do-not-truncate-in-the-search-queries-of-Head.patch (text/plain), 1.27 KB, created by
Frédérick Capovilla
on 2011-02-07 14:43:10 UTC
(
hide
)
Description:
Adds "do-not-truncate" in the search queries of Heading.pm (Correct patch formatting)
Filename:
MIME Type:
Creator:
Frédérick Capovilla
Created:
2011-02-07 14:43:10 UTC
Size:
1.27 KB
patch
obsolete
>From 3c02ece03b25273a4210c6e5cb746ffbc1f64102 Mon Sep 17 00:00:00 2001 >From: =?utf-8?q?Fr=C3=A9d=C3=A9rick=20Capovilla?= <frederick.capovilla@sys-tech.net> >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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5410
:
2764
| 3077