Fix task sorting
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2021-02-28 19:13:45 +01:00
parent d633a6efff
commit 9c9cbca11a
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 6 additions and 0 deletions

View File

@ -135,6 +135,12 @@ func (b *Bucket) ReadAll(s *xorm.Session, auth web.Auth, search string, page int
return nil, 0, 0, err
}
opts.sortby = []*sortParam{
{
orderBy: orderAscending,
sortBy: taskPropertyPosition,
},
}
opts.page = page
opts.perPage = perPage
opts.search = search