Merge pull request #13567 from johnson-yi/fixes/add_default_location_to_checkin_actionlog

Add default location to tracked changes on checkin actionlog
This commit is contained in:
snipe 2023-09-06 09:37:04 +01:00 committed by GitHub
commit e920199626
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,7 +144,7 @@ trait Loggable
}
$changed = [];
$originalValues = array_intersect_key($originalValues, array_flip(['action_date','name','status_id','location_id','expected_checkin']));
$originalValues = array_intersect_key($originalValues, array_flip(['action_date','name','status_id','location_id','rtd_location_id','expected_checkin']));
foreach ($originalValues as $key => $value) {
if ($key == 'action_date' && $value != $action_date) {