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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 30 Aug 2023 06:45:31 +0000 (20:45 -1000)
commitae8937fb8d4b545309b2ecf02281f7264c644dde
tree1fa54511cdebc155c9bc9c34109a796f014d8a3c
parentf98e4faee213b2c617ccc040a89542b2f54639c9
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>
(cherry picked from commit fb48155cc4bdb17935c7d3cd4bdd4e74695d3948)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/xmlControlfield.js