Bugzilla – Attachment 10915 Details for
Bug 8463
Koha/SearchEngine/Solr/Search.pm fails perlcritic test
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8463 - Koha/SearchEngine/Solr/Search.pm fails perlcritic test
Bug-8463---KohaSearchEngineSolrSearchpm-fails-perl.patch (text/plain), 1.01 KB, created by
Mason James
on 2012-07-18 02:10:40 UTC
(
hide
)
Description:
Bug 8463 - Koha/SearchEngine/Solr/Search.pm fails perlcritic test
Filename:
MIME Type:
Creator:
Mason James
Created:
2012-07-18 02:10:40 UTC
Size:
1.01 KB
patch
obsolete
>From 404baaaa3e7cac7475f2f9d392fcbcb9f42f839d Mon Sep 17 00:00:00 2001 >From: Mason James <mtj@kohaaloha.com> >Date: Wed, 18 Jul 2012 14:04:50 +1200 >Subject: [PATCH] Bug 8463 - Koha/SearchEngine/Solr/Search.pm fails perlcritic test >Content-Type: text/plain; charset="utf-8" >http://koha-community.org > > modified: Koha/SearchEngine/Solr/Search.pm >--- > Koha/SearchEngine/Solr/Search.pm | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/Koha/SearchEngine/Solr/Search.pm b/Koha/SearchEngine/Solr/Search.pm >index 5c626ba..b177ca4 100644 >--- a/Koha/SearchEngine/Solr/Search.pm >+++ b/Koha/SearchEngine/Solr/Search.pm >@@ -38,7 +38,8 @@ sub search { > ) > : ( "recordid", "id" ); > >- my $recordtype = ref($filters->{recordtype}) eq 'ARRAY' >+ my $recordtype; >+ $recordtype = ref($filters->{recordtype}) eq 'ARRAY' > ? $filters->{recordtype}[0] > : $filters->{recordtype} > if defined $filters && defined $filters->{recordtype}; >-- >1.7.2.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 8463
:
10915
|
10933