Bugzilla – Attachment 51524 Details for
Bug 16398
Keep expanded view after clearing the search form
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[3.22.x] Bug 16398: Keep the expanded view after clearing the search form
Bug-16398-Keep-the-expanded-view-after-clearing-th.patch (text/plain), 1.88 KB, created by
Julian Maurice
on 2016-05-16 11:31:35 UTC
(
hide
)
Description:
[3.22.x] Bug 16398: Keep the expanded view after clearing the search form
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2016-05-16 11:31:35 UTC
Size:
1.88 KB
patch
obsolete
>From e78caf0a71c2bd6fc33082d5bdb8848656a47082 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 29 Apr 2016 16:52:26 +0100 >Subject: [PATCH] Bug 16398: Keep the expanded view after clearing the search > form > >On the advanced search form, the "Clear fields" button should pass expanded_options >param to preserve the view we use. > >Test plan: >- Click on more options >- Fill some fields >- Click on "Clear fields" >=> Without this patch you get the "fewer options" view >=> With this patch, you will keep the "more options" view > >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 4 ++-- > 1 file changed, 2 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 6ca70fa..6245a7c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >@@ -91,7 +91,7 @@ > [% ELSE %] > <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1">[More options]</a> > [% END %] >- <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear">[New search]</a> >+ <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear&expanded_options=[% expanded_options %]">[New search]</a> > </fieldset> > <!-- /SEARCH BUTTONS --> > </div> >@@ -277,7 +277,7 @@ > [% ELSE %] > <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1">[More options]</a> > [% END %] >- <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear">[New search]</a> >+ <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear&expanded_options=[% expanded_options %]">[New search]</a> > </fieldset> > <!-- /SEARCH BUTTONS --> > </div> >-- >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 16398
:
51020
|
51048
|
51069
| 51524