@@ -, +, @@
- Apply the patch
- Check that you have a 'is not' option in the third box in item search
- Check that you can exclude items from the search results with this 'is not' option
- Check that you can still combine parameters with 'and' and 'or'
- Check that the exclusion works for custom fields (see Administration > Item search fields)
- Check that the exclusion works for custom fields linked to authorised values
---
.../prog/en/modules/catalogue/itemsearch.tt | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt
@@ -83,8 +83,22 @@
[% END %]
+ [% IF params.exists('op') %]
+
+ [% ELSE %]
+
+ [% END %]
-
[% END %]
@@ -548,7 +562,7 @@
form_field.append(button_field_new);
// If a field is linked to an authorised values list, display the list.
- $('div.form-field-select-text select[name="f"]').change(function() {
+ $('div.form-field-select-text select.form-field-column').change(function() {
loadAuthorisedValuesSelect($(this));
}).change();
--