Bugzilla – Attachment 28572 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), 1.69 KB, created by
Mark Tompsett
on 2014-05-30 14:03:05 UTC
(
hide
)
Description:
Fix tab issues
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2014-05-30 14:03:05 UTC
Size:
1.69 KB
patch
obsolete
>From 9699e0b77e4611e08ec0581eb494291cab378452 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 | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > >diff --git a/C4/Koha.pm b/C4/Koha.pm >index 2f2cee1..844db0a 100644 >--- a/C4/Koha.pm >+++ b/C4/Koha.pm >@@ -43,7 +43,7 @@ BEGIN { > &subfield_is_koha_internal_p > &GetPrinters &GetPrinter > &GetItemTypes &getitemtypeinfo >- &GetItemTypesCategorized &GetItemTypesByCategory >+ &GetItemTypesCategorized &GetItemTypesByCategory > &GetSupportName &GetSupportList > &get_itemtypeinfos_of > &getframeworks &getframeworkinfo >@@ -288,9 +288,13 @@ sub GetItemTypesCategorized { > my $query = qq| > SELECT itemtype, description, imageurl, hideinopac, 0 as 'iscat' FROM itemtypes WHERE ISNULL(searchcategory) or length(searchcategory) = 0 > 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 > '' >+ 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 > '' > |; > my $sth = $dbh->prepare($query); > $sth->execute; >-- >1.7.9.5
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