Bugzilla – Attachment 60779 Details for
Bug 16735
Replace existing library search groups functionality with the new hierarchical groups system
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16735 - Filter groups without immediate child libraries from group pulldown
Bug-16735---Filter-groups-without-immediate-child-.patch (text/plain), 2.26 KB, created by
Kyle M Hall (khall)
on 2017-03-01 14:08:59 UTC
(
hide
)
Description:
Bug 16735 - Filter groups without immediate child libraries from group pulldown
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2017-03-01 14:08:59 UTC
Size:
2.26 KB
patch
obsolete
>From cc59472e08671ee0e4f9f00bb1bb053897a87685 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 1 Mar 2017 13:39:10 +0000 >Subject: [PATCH] Bug 16735 - Filter groups without immediate child libraries > from group pulldown > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 4 +++- > 2 files changed, 4 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >index 708b6a8..9ff32d8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >@@ -267,7 +267,7 @@ > <select name="multibranchlimit" id="categoryloop"> > <option value=""> -- none -- </option> > [% FOREACH sg IN search_groups %] >- [% UNLESS sg.branchcode %] >+ [% IF !sg.branchcode && sg.libraries %] > <option value="[% sg.id %]">[% sg.title %]</option> > [% END %] > [% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >index b5d939e..b3354f1 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >@@ -229,7 +229,9 @@ > <select name="multibranchlimit" id="categoryloop"> > <option value=""> -- none -- </option> > [% FOREACH sg IN search_groups %] >- <option value="[% sg.id %]">[% sg.title %]</option> >+ [% IF !sg.branchcode && sg.libraries %] >+ <option value="[% sg.id %]">[% sg.title %]</option> >+ [% END %] > [% END %] > </select> > [% END %] >-- >2.1.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 16735
:
52732
|
52733
|
52734
|
52735
|
57098
|
57099
|
57100
|
57101
|
58087
|
58088
|
58089
|
58090
|
60497
|
60498
|
60499
|
60500
|
60501
|
60502
|
60503
|
60772
|
60773
|
60774
|
60775
|
60776
|
60777
|
60778
|
60779
|
65658
|
65659
|
65660
|
65661
|
65662
|
65663
|
65664
|
65665
|
69533
|
69534
|
69535
|
69536
|
69537
|
69538
|
69539
|
69540
|
69541
|
69684
|
69685
|
69686
|
69687
|
69688
|
69689
|
69690
|
69691
|
69692
|
69693
|
69694
|
71386
|
71393