From: Bill Erickson Date: Thu, 29 Jun 2017 21:53:14 +0000 (-0400) Subject: LP#1694529 Claims returned updates patron last-xact-id X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3c2e915019f1a5e740a66e18fe8bd7a8d587d1d8;p=Evergreen.git LP#1694529 Claims returned updates patron last-xact-id Force an upate to the user last_xact_id value when making an item claims returned, since the process results in patron record changes. Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm index e24a3e928c..54230dcc13 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm @@ -538,6 +538,11 @@ sub set_circ_claims_returned { } } + # Now that all data has been munged, do a no-op update of + # the patron to force a change of the last_xact_id value. + $e->update_actor_user($e->retrieve_actor_user($circ->usr)) + or return $e->die_event; + $e->commit; return 1; }