From f0ac6e89be1cbbc4cc3c034fd2dba2bdcf5afeff Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 3 May 2020 21:24:28 +0200 Subject: [PATCH] Remove setting task bucket to 0 --- pkg/models/tasks.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/models/tasks.go b/pkg/models/tasks.go index 8b324277..0c742cc1 100644 --- a/pkg/models/tasks.go +++ b/pkg/models/tasks.go @@ -706,11 +706,6 @@ func (t *Task) Update() (err error) { if t.PercentDone == 0 { ot.PercentDone = 0 } - // Bucket ID - // Yes it is possible to move a task back into the empty bucket - if t.BucketID == 0 { - ot.BucketID = 0 - } // Position if t.Position == 0 { ot.Position = 0