[Koha-bugs] [Bug 26330] jQueryUI tabs don't work with non-Latin-1 characters

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 11 13:55:04 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26330

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #109684|0                           |1
        is obsolete|                            |

--- Comment #5 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 109935
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109935&action=edit
Bug 26330: Change encoding of text used as tab triggers in MARC subfield
constraints

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 <david at davidnind.com>
Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list