Bug 34565: Label mismatch in MARC21 006 and 008 cataloging plugins
authorOwen Leonard <oleonard@myacpl.org>
Thu, 17 Aug 2023 11:37:30 +0000 (11:37 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 29 Aug 2023 17:37:12 +0000 (14:37 -0300)
commitfb48155cc4bdb17935c7d3cd4bdd4e74695d3948
tree023f8408a9a70cb961e55fc6036e32fe029a4f20
parentac3351d4a475561a6eea76f68a01bd7ea3be45a3
Bug 34565: Label mismatch in MARC21 006 and 008 cataloging plugins

This patch modifies the JS which builds the table of options for
populating MARC21 fields 006 and 008 when using the cataloging plugin.

To test, apply the patch and go to Cataloging -> New record.

- Click the plugin trigger link next to the 006 input field (you may
  need to click the tag to expand it.
- In the table of input fields, test that clicking the label, e.g. "Type
  of material", "00 - Form of material," etc,  moves focus to the
  corresponding form field.
- Perform the same test on the plugin-popup for field 008.

Signed-off-by: Andrew <andrew.auld@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/js/xmlControlfield.js