]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#2056204: support "Form of item" in MARC editor for electronic resources
authorGalen Charlton <gmc@equinoxOLI.org>
Tue, 5 Mar 2024 20:27:13 +0000 (15:27 -0500)
committerJane Sandberg <js7389@princeton.edu>
Mon, 18 Mar 2024 15:40:42 +0000 (08:40 -0700)
commit0f25e79f2c5675c417e5afb4ea2dda588afa4601
tree66d04f1453e42ec039a66a5904a19f80af60564a
parentb36155cd6b028ee46cb8ed49755fcdb7041416f4
LP#2056204: support "Form of item" in MARC editor for electronic resources

This patch adds mappings to the Angular and AngularJS MARC editors
so that the "Form" (form of item) fixed field positions in the 006
and 008 fields are recognized and (in the case of the 008) editable
via the "Form" input when the record type is "m" (electronic resources/computer files).

Release-note: Fixes problem where "Form" value could not be saved in MARC editor for electronic resources.

To test
-------
[1] Open a bib record of type 'm' (electronic resource) in the Angular
    MARC editor.
[2] Change the form value with the input labeled "Form".
[3] Note that the corresponding position in the 008 is not updated.
[4] Apply the patch and repeat steps 1-3. This type, the change
    should stick.
[5] Bonus: do the same testing in the AngularJS MARC editor.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/src/eg2/src/assets/js/marcrecord.js
Open-ILS/web/js/ui/default/staff/marcrecord.js