From 8eabefcfe321132b070e71ce12a735301526182c Mon Sep 17 00:00:00 2001 From: Blou Date: Mon, 27 Jan 2014 14:06:24 -0500 Subject: [PATCH] Fix tab issues http://bugs.koha-community.org/show_bug.cgi?id=10937 --- C4/Koha.pm | 4 ++-- opac/opac-search.pl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/C4/Koha.pm b/C4/Koha.pm index 2e47e9a..4a8d4f0 100644 --- a/C4/Koha.pm +++ b/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; diff --git a/opac/opac-search.pl b/opac/opac-search.pl index f855881..68fadbb 100755 --- a/opac/opac-search.pl +++ b/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)); } -- 1.7.10.4