]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1398107: Alert when autodeleting a title with holds on it.
authorChris Sharp <csharp@georgialibraries.org>
Wed, 11 Mar 2020 23:33:15 +0000 (19:33 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 27 Oct 2020 14:15:16 +0000 (10:15 -0400)
commit9621bee0af81bf220716f3c74747723afedfcdf7
tree0882f3e0e58e4450e0df401af677755264045cde
parent5e85cc276497e1976ab49427515af0b0ffe8e853
LP#1398107: Alert when autodeleting a title with holds on it.

Add a new "TITLE_HAS_HOLDS" event that we pass up to the user
if any non-canceled, unfulfilled title hold targets a bib that
would otherwise be silently deleted with holds canceled.

Also, retarget any holds pointing to a bib that is automatically
deleted after removing its volumes/copies to the destination bib
if this is the last copy.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/extras/ils_events.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/BibCommon.pm