]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP1883171 & LP1940663: Replace circ method to update latest inventory
authorJason Stephenson <jason@sigio.com>
Sun, 31 Oct 2021 20:14:10 +0000 (16:14 -0400)
committerMichele Morgan <mmorgan@noblenet.org>
Fri, 4 Feb 2022 19:39:18 +0000 (14:39 -0500)
commit80d1529b73e8ec2f271499774ef1d327f170119e
tree0c1805e16ee1cb463e8efe6023498c330342e3e9
parent60b7bd3fd85e89273dc64a02f5a28a6194118df1
LP1883171 & LP1940663: Replace circ method to update latest inventory

Replace the open-ils.circ.circulation.update_latest_inventory method
with open-ils.circ.circulation.update_copy_inventory.

Beyond renaming the method and changing the tables it operates on, the
following changes are also made:

1. Use savepoints to allow some updates to succeed when others fail.

2. Modify the return value to include success and failure counts so that
these could potentially be used in client feedback.

This work was sponsored by NOBLE.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm