]> git.evergreen-ils.org Git - evergreen/pines.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, 1 Dec 2020 17:34:21 +0000 (12:34 -0500)
commitae4cc6364bf4822cb0d94f2cfc440eecda562779
tree8adb2119e66f1a1a6367782fe949c58e3277b02f
parentc0432febb5c4731ca5d554acdb3f8db390cadb36
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>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
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