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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 15 Sep 2023 14:57:13 +0000 (11:57 -0300)
commit84521918d93878ffa314decc4eb3b67afe46dca3
tree633f865ad1df9d99e9bda7c9ad1ea5e4163ee47b
parentaff84104127552fe5f5e4394f84b501dafcbc497
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>
C4/Items.pm