From a7be41ef0471520b3a62d42224e9beaa18acc7fc Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 20 Jan 2025 14:23:35 +0100 Subject: [PATCH] fix(filter): do not override filter include nulls query This fixes a bug where the "include nulls" query parameter would get overridden when the current view had a filter set, even if that filter didn't specify the parameter. --- pkg/models/task_collection.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/models/task_collection.go b/pkg/models/task_collection.go index 71b9a9046..2ccd93145 100644 --- a/pkg/models/task_collection.go +++ b/pkg/models/task_collection.go @@ -302,7 +302,6 @@ func (tf *TaskCollection) ReadAll(s *xorm.Session, a web.Auth, search string, pa } else { tf.Filter = view.Filter.Filter } - tf.FilterIncludeNulls = view.Filter.FilterIncludeNulls } if view.Filter.FilterTimezone != "" {