1
0

feat(views): sort tasks by their position relative to the view they're in

This commit is contained in:
kolaente
2024-03-14 22:55:18 +01:00
parent 2502776460
commit d1d07f462c
6 changed files with 53 additions and 6 deletions

View File

@ -200,8 +200,9 @@ func GetTasksInBucketsForView(s *xorm.Session, view *ProjectView, opts *taskSear
opts.sortby = []*sortParam{
{
orderBy: orderAscending,
sortBy: taskPropertyPosition,
projectViewID: view.ProjectID,
orderBy: orderAscending,
sortBy: taskPropertyPosition,
},
}