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
This commit is contained in:
kolaente 2025-11-11 11:04:24 +01:00
parent 7dac1c7539
commit 22fc19cd24
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 0 additions and 4 deletions

View File

@ -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
}