From 22fc19cd246b178e92c13e5c1044c4517b4e596a Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 11 Nov 2025 11:04:24 +0100 Subject: [PATCH] fix: ignore filter_include_nulls from views The filter_include_nulls property from the filter in a view would override the property set through the query string. Because we don't have a way in the UI to set this for filters in views, this makes the setting pretty opaque and unpredictable. Since we want to remove the nulls option anyways, we can just ignore it here. Resolves https://github.com/go-vikunja/vikunja/issues/1781 --- pkg/models/task_collection.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/models/task_collection.go b/pkg/models/task_collection.go index 9d89e0cf3..598f22e46 100644 --- a/pkg/models/task_collection.go +++ b/pkg/models/task_collection.go @@ -319,10 +319,6 @@ func (tf *TaskCollection) ReadAll(s *xorm.Session, a web.Auth, search string, pa tf.FilterTimezone = view.Filter.FilterTimezone } - if view.Filter.FilterIncludeNulls { - tf.FilterIncludeNulls = view.Filter.FilterIncludeNulls - } - if view.Filter.Search != "" { search = view.Filter.Search }