don't exclude recurrers by default in list
This commit is contained in:
parent
e910517fd3
commit
c5cecf3ff6
|
@ -68,7 +68,7 @@ func (t *SqliteTask) FindMany(params storage.TaskListParams) ([]item.Task, error
|
||||||
query := `SELECT id, title, project, date, time, duration, recurrer FROM tasks`
|
query := `SELECT id, title, project, date, time, duration, recurrer FROM tasks`
|
||||||
args := []interface{}{}
|
args := []interface{}{}
|
||||||
|
|
||||||
where := []string{`recurrer = ''`}
|
where := make([]string, 0)
|
||||||
if params.HasRecurrer {
|
if params.HasRecurrer {
|
||||||
where[0] = `recurrer != ''`
|
where[0] = `recurrer != ''`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue