1
0

fix(favorites): make favorites work with configurable views

This commit is contained in:
kolaente
2024-04-14 17:12:16 +02:00
parent 2d084c091e
commit d8ca1a2de1
4 changed files with 51 additions and 7 deletions

View File

@ -100,6 +100,10 @@ func getTaskFilterOptsFromCollection(tf *TaskCollection, projectView *ProjectVie
param.orderBy = getSortOrderFromString(tf.OrderBy[i])
}
if s == taskPropertyPosition && projectView != nil && projectView.ID < 0 {
continue
}
if s == taskPropertyPosition && projectView != nil {
param.projectViewID = projectView.ID
}