]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1843599: AngularJS MARC editor once again sets bib source user/gmcharlt/lp1843599_fix_bib_source_editing
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 20 Dec 2019 17:40:34 +0000 (12:40 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 20 Dec 2019 17:40:34 +0000 (12:40 -0500)
commitb2510682489f9a9ffd711974001f9696201ffb60
tree708510f15fbed97f15fe29af381553ba5b8440aa
parent29d5c4e35c1a09e20c0db114c9ad5d18b9c9aae7
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>
Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js