1
0

feat(views): recalculate all positions when updating

This commit is contained in:
kolaente
2024-03-15 13:45:30 +01:00
parent 8ce476491e
commit ca4e3e01c5
5 changed files with 42 additions and 47 deletions

View File

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