fix(kanban): route repeating tasks to default bucket when dropped on done (#2573)

This commit is contained in:
kolaente 2026-04-09 11:58:46 +02:00 committed by kolaente
parent e37b54abca
commit 3d7bab4497
1 changed files with 7 additions and 2 deletions

View File

@ -145,8 +145,13 @@ func updateTaskBucket(s *xorm.Session, a web.Auth, b *TaskBucket) (err error) {
oldTask := *task
oldTask.Done = false
updateDone(&oldTask, task)
updateBucket = false
b.BucketID = oldTaskBucket.BucketID
// A repeating task doesn't stay in the done bucket; route
// it back to the view's default bucket so the user sees
// the next iteration waiting in the "To-Do" column.
b.BucketID, err = getDefaultBucketID(s, view)
if err != nil {
return err
}
}
}