LP1845241: Use the correct API call to Undelete a bib record
authorJane Sandberg <sandbej@linnbenton.edu>
Sun, 8 Mar 2020 14:58:09 +0000 (07:58 -0700)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 22 Jul 2020 14:36:34 +0000 (10:36 -0400)
commit3d058276eee938efe7bb7090a050ae5858fc22bb
tree5247bc830c875fe2df43756f5095d718abca8bb5
parent2ebe28bc8547df16a27ae0102fbb31bc1a867666
LP1845241: Use the correct API call to Undelete a bib record

To test:

1) Open up a delete-ready bibliographic record in the Web client
(no attached holdings, no located URI, no open orders attached, etc.)
2) Delete it.
3) Undelete it.  Note that the "Undelete" button briefly turns into a
"Delete" button before changing back to an "Undelete" button.  Note that
the bib record does not show up in search results within the Web client.
4) Apply this commit.
5) Now try undeleting the record again.  Notice that the "Delete" button
does not revert to an "Undelete" button.  Note also that the record is
once again showing up in search results (although you may have to be a
bit creative using search terms, due to search results caching).

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/cat/share/marcedit_strings.tt2
Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js