]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1794588 Web client edit single call number changes all when multiple items attached
authorJason Etheridge <jason@EquinoxInitiative.org>
Wed, 16 Jan 2019 13:57:26 +0000 (08:57 -0500)
committerJason Stephenson <jason@sigio.com>
Fri, 8 Mar 2019 18:24:30 +0000 (13:24 -0500)
commitf7aad272dd98112b2efe371b6cf0e7e4a088f4f3
treeacb19da4dfdeb38f2204e294ba261a4f6533b49b
parent66a2eabfb654cba93eaa81db1fb6d6ae444c2ccb
LP1794588 Web client edit single call number changes all when multiple items attached

This patch tweaks the behavior Cat.pm's fleshed_volume_update, aka
open-ils.cat.asset.volume.fleshed.batch.update

Previously, if a volume label was edited, all items attached to that
volume would be essentially affected.  Now, if only a sub-set of items
for the original volume being edited are being edited along with the
volume, then a new volume is potentially created instead, leaving the
original volume (and its unedited copies) untouched.  If no copies are
being edited along with a volume, then the volume itself is edited.

Auto-merging of volumes may still happen in all of these scenarios.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Janet Schrader <jschrader@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm