Bug 34656: Do not update real Time Holds Queue when moving from cart to shelf
authorNick Clemens <nick@bywatersolutions.com>
Wed, 30 Aug 2023 13:46:52 +0000 (13:46 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 18 Sep 2023 08:03:55 +0000 (22:03 -1000)
commit1779dddfe8ec84d4f654b4a65190fb8ede7e4cbe
treee4e15dfa70a747b2b0f1481384bac869d73d5625
parent1af30926423cde9f09e6b4bc5df21ca781611161
Bug 34656: Do not update real Time Holds Queue when moving from cart to shelf

To test:
1 - Enable RealTimeHoldsQueue system preference
2 - Set UpdateItemLocationOnCheckin to _ALL_: CART
3 - Check in an item
4 - Check the background jobs - the RTHQ is updated
5 - perl -e 'use C4::Items; C4::Items::CartToShelf(##);' -- substitute the itemnumber from above
6 - Check the background jobs - no new update to RTHQ
7 - Confirm item was set back to correct permanent_location

Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 84521918d93878ffa314decc4eb3b67afe46dca3)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Items.pm