Re-implemented getting tasks with the new seperate endpoint #39

Open
konrad wants to merge 34 commits from feature/task-list into master
1 changed files with 2 additions and 1 deletions
Showing only changes of commit b36f0215d8 - Show all commits

View File

@ -96,7 +96,8 @@ class _ListPageState extends State<ListPage> {
_loading = false;
_list = list;
// Load tasks
VikunjaGlobal.of(context).taskService.getAll(list.id).then((tasks) {
VikunjaGlobal.of(context).taskService.getAll(
list.id, {"sort_by": "done", "order_by": "asc"}).then((tasks) {
setState(() {
_tasks = tasks;
});