fix(task): do not update all project_view ids
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Might fix https://community.vikunja.io/t/not-able-to-move-task-between-buckets-within-a-kanban-view-for-saved-filter/2882/6
This commit is contained in:
parent
a1cf2b8bc7
commit
b3c93ae811
@ -99,7 +99,7 @@ func (tp *TaskPosition) Update(s *xorm.Session, a web.Auth) (err error) {
|
||||
}
|
||||
|
||||
_, err = s.
|
||||
Where("task_id = ?", tp.TaskID).
|
||||
Where("task_id = ? AND project_view_id = ?", tp.TaskID, tp.ProjectViewID).
|
||||
Cols("project_view_id", "position").
|
||||
Update(tp)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user