LP#1888518: fix authority delete/undelete in AngularJS editor user/gmcharlt/lp1888518_angjs_authority_delete_undelete
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 22 Jul 2020 15:05:34 +0000 (11:05 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 22 Jul 2020 15:05:34 +0000 (11:05 -0400)
commit56abb3c0b017b272b64e6671464b1c314db7d476
treee2ca4270f84447a3de41a677181fb074ec1622c2
parentd7ed1d2cbd26ceb52957ec52e140b4663bb99260
LP#1888518: fix authority delete/undelete in AngularJS editor

This patch ensures that authority record deletion and undeletion
works in the AngularJS editor.

To test
-------
[1] Go to Manage Authorities -> search -> edit a hit, then
    click the delete button in the editor window.
[2] Note that the record is not deleted.
[3] Apply the patch.
[4] Repeat step 1; this time, the record should be deleted, as
    can be verified by rerunning the search in the authorities
    window.
[5] Click the undelete button; verify that the record shows
    up again.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js