Bugzilla – Attachment 29895 Details for
Bug 10155
Patron search should remember search options selected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Bug 10155: Patron search should remember search type options selected
SIGNED-OFF-Bug-10155-Patron-search-should-remember.patch (text/plain), 1.68 KB, created by
Katrin Fischer
on 2014-07-20 21:21:53 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 10155: Patron search should remember search type options selected
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-07-20 21:21:53 UTC
Size:
1.68 KB
patch
obsolete
>From 2b0d89f163e23a96302a616a255cd2e8dab09c83 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 15 Jul 2014 10:28:14 +0200 >Subject: [PATCH] [SIGNED OFF] Bug 10155: Patron search should remember search > type options selected > >The search type reset to the default. > >Test plan: >1/ go on the patrons home page >2/ Launch a search in the header and select the second value for "search >type" ("contains"). >3/ Verify the search type is set to "contains" on the results page. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Works as described. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >index a1f400c..47cd2ad 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -75,8 +75,13 @@ > > <label for="searchtype">Search type:</label> > <select name="searchtype" id="searchtype"> >- <option selected="selected" value='start_with'>Starts with</option> >- <option value='contain'>Contains</option> >+ [% IF searchtype != 'start_with' %] >+ <option value='start_with'>Starts with</option> >+ <option selected="selected" value='contain'>Contains</option> >+ [% ELSE %] >+ <option selected="selected" value='start_with'>Starts with</option> >+ <option value='contain'>Contains</option> >+ [% END %] > </select> > > <input value="Search" class="submit" type="submit" /> >-- >1.9.1
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 10155
:
29696
|
29895
|
30113