Bugzilla – Attachment 31561 Details for
Bug 9043
Adding system preferences to control the visibility of the content on the Advanced Search page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 9043 [QA Followup] - Don't show "More options" are there aren't any
PASSED-QA-Bug-9043-QA-Followup---Dont-show-More-op.patch (text/plain), 1.74 KB, created by
Kyle M Hall (khall)
on 2014-09-12 14:39:52 UTC
(
hide
)
Description:
[PASSED QA] Bug 9043 [QA Followup] - Don't show "More options" are there aren't any
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-09-12 14:39:52 UTC
Size:
1.74 KB
patch
obsolete
>From 6582c3eb9c74be4e1ce4741d5ea00059ce1a0605 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 12 Sep 2014 09:59:12 -0400 >Subject: [PATCH] [PASSED QA] Bug 9043 [QA Followup] - Don't show "More options" are there aren't any > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../bootstrap/en/modules/opac-advsearch.tt | 10 ++++++---- > 1 files changed, 6 insertions(+), 4 deletions(-) > >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 9a2d07d..4716a0f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >@@ -370,10 +370,12 @@ > <p> > <input class="btn btn-success" type="submit" accesskey="s" name="do" title="Search" value="Search" /> > >- [% IF expanded_options %] >- <a href="/cgi-bin/koha/opac-search.pl?expanded_options=0" class="btn btn-default more-less-options">Fewer options</a> >- [% ELSIF not expanded_options %] >- <a href="/cgi-bin/koha/opac-search.pl?expanded_options=1" class="btn btn-default more-less-options">More options</a> >+ [% IF OpacAdvSearchMoreOptions.size > 0 %] >+ [% IF expanded_options %] >+ <a href="/cgi-bin/koha/opac-search.pl?expanded_options=0" class="btn btn-default more-less-options">Fewer options</a> >+ [% ELSIF not expanded_options %] >+ <a href="/cgi-bin/koha/opac-search.pl?expanded_options=1" class="btn btn-default more-less-options">More options</a> >+ [% END %] > [% END %] > > <a href="/cgi-bin/koha/opac-search.pl?do=Clear" class="btn btn-default new-search">New search</a> >-- >1.7.2.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 9043
:
13385
|
13858
|
15312
|
15328
|
15329
|
15546
|
15547
|
15792
|
19150
|
19151
|
20316
|
20317
|
20318
|
20717
|
20718
|
21643
|
21644
|
21645
|
27524
|
27525
|
27526
|
29005
|
29006
|
29007
|
29914
|
29915
|
29916
|
29945
|
29946
|
30183
|
30184
|
30185
|
30186
|
30967
|
30968
|
30969
|
31170
|
31557
|
31558
|
31559
|
31560
|
31561
|
33428
|
33429
|
33430
|
33431
|
33432
|
33617
|
33620
|
33947