From 1d1f7a63327dc3e1a68a6699a166c12918097d7b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 1 Sep 2020 11:51:25 +0000 Subject: [PATCH] Bug 26330: Change encoding of text used as tab triggers in MARC subfield constraints MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch changes the encoding of the data being used to define jQueryUI tabs on the MARC subfield constraints page. A jQueryUI bug prevents non-Latin-1 characters from being used when defining tab controls. Using Template:Toolkit's "uri" filter converts the data to usable characters. To test, apply the patch and go to Administration -> MARC frameworks -> MARC structure -> tag 952 -> Edit subfields. - Under the "New" tab, add a subfield code which is outside the basic Latin character set, e.g. £, §, æ. - Save changes. - Edit any subfield code to load the subfield constraints page again. - Test that the subfield code tabs work correctly: Clicking each tab should load only the corresponding panel. - Test a variety of tabs including the one you created with the non-Latin character. Signed-off-by: David Nind Signed-off-by: Julian Maurice Signed-off-by: Andrew Fuerste-Henry --- .../prog/en/modules/admin/marc_subfields_structure.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt index 461ca663d6..df5395cedf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt @@ -49,9 +49,9 @@ [% FOREACH loo IN loop %] -
+
-- 2.39.5