From ddedc93da975df99758ab6899dbcc7c60b967157 Mon Sep 17 00:00:00 2001 From: apirak Date: Thu, 29 Jun 2017 17:42:23 +0700 Subject: [PATCH] Bug 18400 - Noisy warns in opac-search.pl during itemtype sorting (16.11) --- opac/opac-search.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-search.pl b/opac/opac-search.pl index aaece81..d6180fa 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -288,7 +288,7 @@ foreach my $advanced_srch_type (@advanced_search_types) { ccl => $advanced_srch_type, code => $thisitemtype->{authorised_value}, description => $thisitemtype->{'lib_opac'} || $thisitemtype->{'lib'}, - searchcategory => $itemtypes->{$thisitemtype}->{'searchcategory'}, + searchcategory => $thisitemtype->{'searchcategory'}, imageurl => getitemtypeimagelocation( 'opac', $thisitemtype->{'imageurl'} ), ); push @authvalueloop, \%row; -- 2.1.4