https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37357 Bug ID: 37357 Summary: Authorised values in control fields cause Javascript errors Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: MARC Bibliographic data support Assignee: koha-bugs@lists.koha-community.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org I have a library that uses an authorised value list in one of their MARC control fields, and I notice it causes Javascript errors. The label will be for tag_001_subfield_00_597551_809285 but the select2 select will have a name and ID of tag_001_subfield_@_597551_809285 In Koha/UI/Form/Builder/Biblio.pm, @ gets rewritten to 00 in some subfield contexts, but not all. The "id" in the "subfield_data" hash is correct, but sub build_authorized_values_list creates a name/id which uses @ instead. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.