Bugzilla – Attachment 33432 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]
Bug 9043 [QA Followup] - Don't show "More options" are there aren't any
Bug-9043-QA-Followup---Dont-show-More-options-are-.patch (text/plain), 1.73 KB, created by
Jonathan Druart
on 2014-11-10 15:23:48 UTC
(
hide
)
Description:
Bug 9043 [QA Followup] - Don't show "More options" are there aren't any
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-11-10 15:23:48 UTC
Size:
1.73 KB
patch
obsolete
>From fdd925b3df59ba2b876c2a754936530dd1550278 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] Bug 9043 [QA Followup] - Don't show "More options" are there > aren't any > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 10 ++++++---- > 1 file 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 af9b111..12dd94f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >@@ -359,10 +359,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> >-- >2.1.0
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