1
0

Fixed priority not updating when set to 0

This commit is contained in:
kolaente
2019-04-05 12:40:40 +02:00
parent 55e33c1694
commit 93dbaea303
3 changed files with 10 additions and 11 deletions

View File

@ -133,6 +133,11 @@ func (t *ListTask) Update() (err error) {
ot.Done = false
}
// If the priority is 0, we also need to explicitly check that here
if t.Priority == 0 {
ot.Priority = 0
}
_, err = x.ID(t.ID).
Cols("text",
"description",