LP#937789: fake-delete support for monograph parts
authorMike Rylander <mrylander@gmail.com>
Thu, 7 Jun 2012 18:54:24 +0000 (14:54 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 29 Oct 2015 14:18:04 +0000 (14:18 +0000)
commita48e7de925ca3d159a3969dd0f48ad88a4745596
tree6bc27ca479afbcee6c65447ebeda0a94816f06bc
parentb15a61ffc934e5e4f558de69505f904b4de0d2e3
LP#937789: fake-delete support for monograph parts

Unlike copies, call numbers, and bibs, parts can be directly removed from the
database.  This has a negative impact on holds, in that the holds become not
just orphaned, but broken entirely.  With this commit we bring part holds to
parity with other hold types such that they can be system-canceled when their
target goes away.  This will avoid spurious UI-level errors to staff.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
12 files changed:
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/biblio.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm
Open-ILS/src/sql/Pg/010.schema.biblio.sql
Open-ILS/src/sql/Pg/800.fkeys.sql
Open-ILS/src/sql/Pg/990.schema.unapi.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.fake-delete-parts.sql [new file with mode: 0644]
Open-ILS/src/templates/conify/global/biblio/monograph_part.tt2
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js
Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js