From 08271f61257f7c6b90c9c571ccf984c782308582 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 9 Aug 2018 22:51:43 +0000 Subject: [PATCH] Bug 20689: Replace marc (sub)field pull downs with input fields on item search fields config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pull down for marc subfields on the item search fields config page is long and hard to use. It also doesn't include the commonly used upper case letters for custom item subfields. Also hard to use with its 999 entries is the marc field list. It doesn't allow for tags like 01e, which exist in our MARC21 default framework. To test: - Go to Administration > Item search fields - Add different mappings with and without subfields - Verify the entered values are stored correctly - Edit mappings - Verify editing works and changes save correctly Signed-off-by: Séverine QUEUNE Signed-off-by: Martin Renvoize Signed-off-by: Mark Tompsett Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- .../admin-items-search-field-form.inc | 32 +++++++------------ 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-items-search-field-form.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-items-search-field-form.inc index aaeef9045c..7232766b1a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-items-search-field-form.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-items-search-field-form.inc @@ -21,31 +21,21 @@ Required
  • - - + + [% IF field && field.tagfield == tagfield %] + + [% ELSE %] + + [% END %] Required
  • - + [% IF field && field.tagsubfield == tagsubfield %] + + [% ELSE %] + + [% END %]
  • -- 2.20.1