diff --git a/changelog/70_UNRELEASED_xxxx.xx.xx.md b/changelog/70_UNRELEASED_xxxx.xx.xx.md index d12f16d4..3d96a90d 100644 --- a/changelog/70_UNRELEASED_xxxx.xx.xx.md +++ b/changelog/70_UNRELEASED_xxxx.xx.xx.md @@ -71,6 +71,7 @@ - The green button now tracks an execution of the corresponding chore on the next scheduled time, rather than for now/today - New context-/more menu option "Track chore execution now" to track an execution for now/today (so the same what the green button did before) - Removed the limitation on the chore tracking page that the tracked time couldn't be in the future +- Fixed that "assidgned to" was not recalculated when undoing chores ### Calendar diff --git a/services/ChoresService.php b/services/ChoresService.php index d2f8622f..ebfeb0da 100644 --- a/services/ChoresService.php +++ b/services/ChoresService.php @@ -243,6 +243,8 @@ class ChoresService extends BaseService 'undone' => 1, 'undone_timestamp' => date('Y-m-d H:i:s') ]); + + $this->CalculateNextExecutionAssignment($logRow->chore_id); } public function MergeChores(int $choreIdToKeep, int $choreIdToRemove)