Bugzilla – Attachment 51020 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.40 KB, created by
Jonathan Druart
on 2016-04-29 16:00:40 UTC
(
hide
)
Description:
Bug 16398: Keep the expanded view after clearing the search form
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-04-29 16:00:40 UTC
Size:
1.40 KB
patch
obsolete
>From 5b10b07b33811065a96d6f7d8b5559abfbe7cab9 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 >--- > 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 1349a80..08e3c25 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> >-- >2.7.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 16398
:
51020
|
51048
|
51069
|
51524