Pagingation for tasks in kanban buckets #805

Merged
konrad merged 7 commits from feature/bucket-paginate into main 2021-03-10 10:59:10 +00:00
1 changed files with 6 additions and 0 deletions
Showing only changes of commit 9c9cbca11a - Show all commits

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