From c5cecf3ff69d4b74139e786025ce7f00e6453fb2 Mon Sep 17 00:00:00 2001 From: Erik Winter Date: Sun, 5 Jan 2025 08:30:55 +0100 Subject: [PATCH] don't exclude recurrers by default in list --- plan/storage/sqlite/task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plan/storage/sqlite/task.go b/plan/storage/sqlite/task.go index debf2fc..5352f2e 100644 --- a/plan/storage/sqlite/task.go +++ b/plan/storage/sqlite/task.go @@ -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` args := []interface{}{} - where := []string{`recurrer = ''`} + where := make([]string, 0) if params.HasRecurrer { where[0] = `recurrer != ''` }