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>
LP1693580 Marc editor notify and API changes 1. Indicate in the interface when a bib/auth MARC record edit failed or succeeded. 2. Handle permission failures on MARC edit by displaying the permission override dialog. Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Dan Pearl <dpearl@cwmars.org>
lp1538678 MARC edit warning prompt translateable strings - Define "There is unsaved data in this record." as a translateable string. Signed-off-by: Kyle Huckins <khuckins@catalyte.io> Changes to be committed: modified: Open-ILS/src/templates/staff/cat/share/marcedit_strings.tt2 modified: Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js Signed-off-by: Bill Erickson <berickxx@gmail.com>
webstaff: improve MARC record deletion The MARC editor now asks the user to confirm whether to delete the record, and in the case of deleting bibs, now uses open-ils.cat.biblio.record_entry.delete so as to catch things like volumes still attached to the bib and cancelling holds in the bib record. Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Kathy Lussier <klussier@masslnc.org>
webstaff: make some MARC editor strings translateable Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Kathy Lussier <klussier@masslnc.org>