Bugzilla – Attachment 100696 Details for
Bug 24847
Select AND by default in items search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24847: Select AND by default in items search
Bug-24847-Select-AND-by-default-in-items-search.patch (text/plain), 1.48 KB, created by
Katrin Fischer
on 2020-03-15 13:48:34 UTC
(
hide
)
Description:
Bug 24847: Select AND by default in items search
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-03-15 13:48:34 UTC
Size:
1.48 KB
patch
obsolete
>From 1da5332a792756863943aa3a8660fc757f05fd9e Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 11 Mar 2020 14:00:21 +0300 >Subject: [PATCH] Bug 24847: Select AND by default in items search > >In items search form, when clicking on "New field" a new conjunction and search field are added. >It would save time to select AND conjunction by default, like it is in advanced search. > >Test plan: >1) Go to items search >2) Click on "New field" >3) Check that AND is selected > >Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >index b50cad1c94..b6e263b38a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >@@ -270,7 +270,7 @@ > copy.find('input,select').not('[type="hidden"]').each(function() { > $(this).val(''); > }); >- copy.find('.form-field-conjunction').prop('disabled', false); >+ copy.find('.form-field-conjunction').prop('disabled', false).val('and'); > form_field.after(copy); > link.remove(); > copy.find('select.form-field-column').change(); >-- >2.11.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 24847
:
100529
|
100537
| 100696