1
0

fix(views): make setting task position in saved filters work

This commit is contained in:
kolaente
2024-03-16 14:50:09 +01:00
parent e1774cc49a
commit 7368a51f18
5 changed files with 92 additions and 58 deletions

View File

@ -54,5 +54,5 @@ func (p *ProjectView) CanCreate(s *xorm.Session, a web.Auth) (bool, error) {
}
func (p *ProjectView) getProject(s *xorm.Session) (pp *Project, err error) {
return GetProjectSimpleByID(s, p.ProjectID)
return &Project{ID: p.ProjectID}, nil
}