Bugzilla – Attachment 66326 Details for
Bug 9857
Did you mean? from authorities uses incorrect punctuation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 9857 - Follow-up - Fix for searches with su= or su:
SIGNED-OFF-Bug-9857---Follow-up---Fix-for-searches.patch (text/plain), 1.79 KB, created by
Josef Moravec
on 2017-08-22 12:11:43 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 9857 - Follow-up - Fix for searches with su= or su:
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2017-08-22 12:11:43 UTC
Size:
1.79 KB
patch
obsolete
>From 7e8ae39a8a644e2c2988f2c91ebc75175ca032e9 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Fri, 18 Aug 2017 08:36:59 +0000 >Subject: [PATCH] [SIGNED-OFF] Bug 9857 - Follow-up - Fix for searches with su= > or su: > >When the initial search is su=.../su:... the links was >not constructed correctly. With this change, it should >be the case. > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > Koha/SuggestionEngine/Plugin/AuthorityFile.pm | 3 +-- > Koha/SuggestionEngine/Plugin/ExplodedTerms.pm | 5 ++--- > 2 files changed, 3 insertions(+), 5 deletions(-) > >diff --git a/Koha/SuggestionEngine/Plugin/AuthorityFile.pm b/Koha/SuggestionEngine/Plugin/AuthorityFile.pm >index fad0a58..cfb34da 100644 >--- a/Koha/SuggestionEngine/Plugin/AuthorityFile.pm >+++ b/Koha/SuggestionEngine/Plugin/AuthorityFile.pm >@@ -30,8 +30,7 @@ Plugin to get suggestions from Koha's authority file > > =cut > >-use strict; >-use warnings; >+use Modern::Perl; > use Carp; > > use base qw(Koha::SuggestionEngine::Base); >diff --git a/Koha/SuggestionEngine/Plugin/ExplodedTerms.pm b/Koha/SuggestionEngine/Plugin/ExplodedTerms.pm >index c8a3339..7129d9b 100644 >--- a/Koha/SuggestionEngine/Plugin/ExplodedTerms.pm >+++ b/Koha/SuggestionEngine/Plugin/ExplodedTerms.pm >@@ -31,8 +31,7 @@ subjects to subject searches. > > =cut > >-use strict; >-use warnings; >+use Modern::Perl; > use Carp; > use C4::Templates qw(gettemplate); # This is necessary for translatability > >@@ -86,7 +85,7 @@ sub get_suggestions { > foreach my $index (@indexes) { > my $thissearch = $search; > $thissearch = "$index:$thissearch" >- unless ( $thissearch =~ s/OP!/$index=/g ); >+ unless ( $thissearch =~ s/OP!/$index:/g ); > $template->{VARS}->{index} = $index; > my $label = $template->output; > push @results, >-- >2.1.4
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 9857
:
45398
|
45490
|
45505
|
66218
|
66325
|
66326
|
66717
|
66718
|
66780
|
66781