Bugzilla – Attachment 51048 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]
Bug 16398: Keep the expanded view after clearing the search form
Bug-16398-Keep-the-expanded-view-after-clearing-th.patch (text/plain), 1.54 KB, created by
Marc Véron
on 2016-04-30 09:12:05 UTC
(
hide
)
Description:
Bug 16398: Keep the expanded view after clearing the search form
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-04-30 09:12:05 UTC
Size:
1.54 KB
patch
obsolete
>From ffcd6b046202bfd9e725e78149cf1b085954ec32 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 >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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: Marc Véron <veron@veron.ch> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 eec5145..7df062f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >@@ -49,7 +49,7 @@ > </div> > [% END %] > <div class="btn-group"> >- <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear" class="btn-small"><i class="fa fa-times"></i> Clear fields</a> >+ <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear&expanded_options=[% expanded_options %]" class="btn-small"><i class="fa fa-times"></i> Clear fields</a> > </div> > </fieldset> > </div> >-- >1.7.10.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