Bugzilla – Attachment 29696 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]
Bug 10155: Patron search should remember search type options selected
Bug-10155-Patron-search-should-remember-search-typ.patch (text/plain), 1.59 KB, created by
Jonathan Druart
on 2014-07-15 08:31:00 UTC
(
hide
)
Description:
Bug 10155: Patron search should remember search type options selected
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-07-15 08:31:00 UTC
Size:
1.59 KB
patch
obsolete
>From 0ec64af4390333a97c5000e9bcd8328b2168f52f 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] 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. >--- > 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" /> >-- >2.0.0.rc2
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