fix: update task query builder for include_subprojects
This commit is contained in:
parent
90ced65fc5
commit
c11284a9ea
|
|
@ -461,7 +461,6 @@ func (pv *ProjectView) Update(s *xorm.Session, _ web.Auth) (err error) {
|
|||
"view_kind",
|
||||
"filter",
|
||||
"position",
|
||||
"include_subprojects",
|
||||
"bucket_configuration_mode",
|
||||
"bucket_configuration",
|
||||
"default_bucket_id",
|
||||
|
|
|
|||
|
|
@ -386,6 +386,10 @@ func (tf *TaskCollection) ReadAll(s *xorm.Session, a web.Auth, search string, pa
|
|||
if view.Filter.FilterIncludeNulls {
|
||||
tf.FilterIncludeNulls = true
|
||||
}
|
||||
|
||||
if view.Filter.IncludeSubprojects {
|
||||
tf.IncludeSubprojects = true
|
||||
}
|
||||
}
|
||||
|
||||
if strings.Contains(tf.Filter, taskPropertyBucketID) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue