@@ -, +, @@ --- C4/Koha.pm | 4 ++-- opac/opac-search.pl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) --- a/C4/Koha.pm +++ a/C4/Koha.pm @@ -42,7 +42,7 @@ BEGIN { &subfield_is_koha_internal_p &GetPrinters &GetPrinter &GetItemTypes &getitemtypeinfo - &GetItemTypesCategorized &GetItemTypesByCategory + &GetItemTypesCategorized &GetItemTypesByCategory &GetSupportName &GetSupportList &get_itemtypeinfos_of &getframeworks &getframeworkinfo @@ -285,7 +285,7 @@ sub GetItemTypesCategorized { UNION SELECT DISTINCT searchcategory AS `itemtype`, authorised_values.lib_opac AS description, authorised_values.imageurl AS imageurl, hideinopac, 1 as 'iscat' FROM itemtypes - LEFT JOIN authorised_values ON searchcategory = authorised_value WHERE searchcategory > '' + LEFT JOIN authorised_values ON searchcategory = authorised_value WHERE searchcategory > '' |; my $sth = $dbh->prepare($query); $sth->execute; --- a/opac/opac-search.pl +++ a/opac/opac-search.pl @@ -225,7 +225,7 @@ foreach my $advanced_srch_type (@advanced_search_types) { searchcategory => $itemtypes->{$thisitemtype}->{'searchcategory'}, ); if ( !$itemtypes->{$thisitemtype}->{'hideinopac'} ) { - push @itypesloop, \%row; + push @itypesloop, \%row; } } my %search_code = ( advanced_search_type => $advanced_srch_type, @@ -408,7 +408,7 @@ if ($operands[0] && !$operands[1]) { my @limits = $cgi->param('limit'); if (@searchCategories > 0) { - my @tabcat; + my @tabcat; foreach my $typecategory (@searchCategories) { push (@tabcat, GetItemTypesByCategory($typecategory)); } --