From d5b430e1e226eabb3b75b1a68cae45b69c22b0c2 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 --- .../en/includes/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 4ab91b1..7359b82 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.1.4