Remove adding _unix suffix hack
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2020-06-26 17:35:44 +02:00
parent 48b8644e18
commit 13e17c2ee8
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 0 additions and 9 deletions

View File

@ -89,15 +89,6 @@ func getTaskFiltersByCollections(c *TaskCollection) (filters []*taskFilter, err
}
}
// Special case for pseudo date fields
// FIXME: This is really dirty, to fix this properly the db fields should be renamed
if filter.field+"" == taskPropertyDoneAt ||
filter.field+"" == taskPropertyDueDate ||
filter.field+"" == taskPropertyStartDate ||
filter.field+"" == taskPropertyEndDate {
filter.field += ""
}
filters = append(filters, filter)
}