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> Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
This commit is contained in:
parent
58590b9ac7
commit
f32ccbf2d7
|
|
@ -257,7 +257,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 New Issue