LP 1333893: Keep Empty Bib on Volume Transfer
authorJason Stephenson <jason@sigio.com>
Thu, 11 Oct 2018 12:50:30 +0000 (08:50 -0400)
committerJason Stephenson <jason@sigio.com>
Wed, 1 May 2019 13:22:10 +0000 (09:22 -0400)
commitd61f82770aab55dc56637ddc2563081932bb9185
tree63b065f874107f4cb62cea87677ebe91cd3157b9
parent32ea581006ad7acaa8e51ad007809779c30e1b77
LP 1333893: Keep Empty Bib on Volume Transfer

Volume transfer did not honor the cat.bib_keep_on_empty organizational
unit setting when removing empty bib records.  This commit changes it
so that tranfer honors the setting in the same manner that deleting
copies and volumes does.

To test this fix, set cat.bib_keep_on_empty for your workstation
org. unit to true, and then transfer all of the volumes from one bib
record to another.  The empty bib record should not get deleted.

You can also test with the setting on false to make sure that the
empty bib gets deleted.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Beth Willis <willis@noblenet.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm