From fa0d36f718c7207bae71c0427861a3e81ff825bf Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Thu, 3 Feb 2022 12:12:27 -0500 Subject: [PATCH] LP1883171 & LP1940663: Set checkin_changed Set checkin_changed to true when adding an asset.copy_inventory entry during check-in so that even if there would otherwise be a NO_CHANGE response, the row will still get created. This came up in late testing. Signed-off-by: Jason Stephenson --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm index 46595c1595..c2047e335f 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -2739,6 +2739,7 @@ sub do_checkin { $aci->inventory_workstation($self->editor->requestor->wsid); $aci->copy($self->copy->id()); $self->editor->create_asset_copy_inventory($aci); + $self->checkin_changed(1); } if( $self->checkin_check_holds_shelf() ) { -- 2.43.2