LP#1569884 Allow deleted monograph parts to be recreated.
authorSteven Callender <stevecallender@esilibrary.com>
Wed, 13 Apr 2016 15:15:27 +0000 (11:15 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Thu, 4 Aug 2016 11:47:49 +0000 (07:47 -0400)
commit7ceee042ff8c97eacfd2771656cc847da0034158
treed7c0664f2f6c234dce5f2c96cda07117b9c81844
parent0b1fb52ed6cd075b3daef9fa7f01f4fe5159589b
LP#1569884 Allow deleted monograph parts to be recreated.

Changed the constraint on the biblio.monograph_part table to allow for a
monograph part to be created if a duplicate deleted version is found.

To test:

[1] Add a monograph part to a bib.
[2] Delete that monograph part.
[3] Attempt to add a monograph part to the same bib using
    the same part label. Without the patches installed, this
    will fail; upon applying the database update, this operation
    should succeed.

Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/sql/XXXX.schema.allow_parts_to_be_recreated.sql [new file with mode: 0644]