From 2aec6f33981af8c196c00bb0d0c9918b0a68bef5 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 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 --- .../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 454bd113f1..52bcb7ca0b 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 %] + + [% END %] Required
  • - + [% IF field && field.tagsubfield == tagsubfield %] + + [% ELSE %] + + [% END %]
  • -- 2.17.1