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:54 +0000 (10:36 -0400)
commit94bf31cd20e3fb1a6d596702fe479d8cea342318
treea6b73c8b0978b6efb0e0a5d0e82dd6ac0ef4d05e
parent41214e31852477e63106f83fb0271fb3ea4302d7
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