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>
This commit is contained in:
parent
aff8410412
commit
84521918d9
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ sub CartToShelf {
|
|||
|
||||
my $item = Koha::Items->find($itemnumber);
|
||||
if ( $item->location eq 'CART' ) {
|
||||
$item->location($item->permanent_location)->store;
|
||||
$item->location($item->permanent_location)->store({ skip_holds_queue => 1 });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue