]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1843599: AngularJS MARC editor once again sets bib source
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 20 Dec 2019 17:40:34 +0000 (12:40 -0500)
committerJason Etheridge <jason@EquinoxInitiative.org>
Tue, 7 Jan 2020 19:32:06 +0000 (14:32 -0500)
commit9d9f1b667c042e2e6ed2d386d9c532016579286f
treecf15457dc4b4e5faf2f7069bbdd97b9ee37e61ec
parent402660642396a9f13ecc6206b1ab2e3db4c4de8a
LP#1843599: AngularJS MARC editor once again sets bib source

This patch fixes a regression introduced by the patch for bug 1693580
that prevent changes to the bib source from being made via the AngularJS
MARC editor.

To test
-------
[1] Apply the patch.
[2] Create a new bib record and save it with a non-empty source. Verify
    that the record sets the source as expected.
[3] Edit a bib record and change the source. Verify that the new source
    is retained when the record is saved.
[4] Edit an authority record and save it. Verify that it can be updated
    without error. (Note that authority records do not have sources in
    the same way that bib records do.)

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Rogan Hamby <rhamby@esilibrary.com>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js