Bugzilla – Attachment 24779 Details for
Bug 10937
Advanced search: Hide itemtypes from search form & Group itemtypes together into one search option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix tab issues
Fix-tab-issues.patch (text/plain), 2.09 KB, created by
Blou
on 2014-01-27 19:07:03 UTC
(
hide
)
Description:
Fix tab issues
Filename:
MIME Type:
Creator:
Blou
Created:
2014-01-27 19:07:03 UTC
Size:
2.09 KB
patch
obsolete
>From 8eabefcfe321132b070e71ce12a735301526182c Mon Sep 17 00:00:00 2001 >From: Blou <philippe.blouin@inlibro.com> >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
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 10937
:
22007
|
22276
|
24596
|
24597
|
24778
|
24779
|
24782
|
28571
|
28572
|
28573
|
28575
|
28576
|
28579
|
28624
|
28626
|
29383
|
30308
|
31896
|
34419
|
34635
|
34667
|
35452
|
36191
|
36240
|
36856
|
40884
|
42323