Bugzilla – Attachment 62162 Details for
Bug 17835
Move C4::Koha::GetItemTypes to Koha::ItemTypes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17835: [QA Follow-up] Fix opac-search.pl
Bug-17835-QA-Follow-up-Fix-opac-searchpl.patch (text/plain), 1.28 KB, created by
Marcel de Rooy
on 2017-04-14 08:49:41 UTC
(
hide
)
Description:
Bug 17835: [QA Follow-up] Fix opac-search.pl
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-04-14 08:49:41 UTC
Size:
1.28 KB
patch
obsolete
>From d3537699a0f9bc082ecb19e6fdbfc6f9bd1007b3 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 14 Apr 2017 08:58:30 +0200 >Subject: [PATCH] Bug 17835: [QA Follow-up] Fix opac-search.pl >Content-Type: text/plain; charset=utf-8 > >Resolves: >Global symbol "$itemtypes_nocategory" requires explicit package name. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Tested the added line with a debug statement. See itemtype facets in the >search results. >--- > opac/opac-search.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/opac/opac-search.pl b/opac/opac-search.pl >index e190fcd..a6d205a 100755 >--- a/opac/opac-search.pl >+++ b/opac/opac-search.pl >@@ -608,6 +608,7 @@ if ($tag) { > $pasarParams .= '&count=' . uri_escape_utf8($results_per_page); > $pasarParams .= '&simple_query=' . uri_escape_utf8($simple_query); > $pasarParams .= '&query_type=' . uri_escape_utf8($query_type) if ($query_type); >+ my $itemtypes_nocategory = { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search_with_localization->unblessed } }; > eval { > ($error, $results_hashref, $facets) = $searcher->search_compat($query,$simple_query,\@sort_by,\@servers,$results_per_page,$offset,$expanded_facet,undef,$itemtypes_nocategory,$query_type,$scan,1); > }; >-- >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 17835
:
58561
|
58562
|
58563
|
58564
|
58565
|
58600
|
60033
|
60046
|
60048
|
60049
|
60050
|
60051
|
60052
|
60053
|
60914
|
60915
|
60916
|
60917
|
61695
|
61696
|
61697
|
61698
|
61699
|
61700
|
61966
|
61967
|
61968
|
61969
|
61970
|
61971
|
62156
|
62157
|
62158
|
62159
|
62160
|
62161
| 62162 |
62370
|
62470