1
0

feat(views): use project id when fetching views

This commit is contained in:
kolaente
2024-03-14 15:45:50 +01:00
parent 98b7cc9254
commit 38457aaca5
2 changed files with 5 additions and 5 deletions

View File

@ -172,7 +172,7 @@ func (tf *TaskCollection) ReadAll(s *xorm.Session, a web.Auth, search string, pa
}
if tf.ProjectViewID != 0 {
view, err := GetProjectViewByID(s, tf.ProjectViewID)
view, err := GetProjectViewByID(s, tf.ProjectViewID, tf.ProjectID)
if err != nil {
return nil, 0, 0, err
}