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> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
45423f4ecd
commit
efb7c4c687
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue