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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to