From ba98fce757f939196285e791fd7141e5ca30d5e8 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 aaece812cf..d6180fa5dc 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.39.5