Re-implemented getting tasks with the new seperate endpoint #39
|
@ -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;
|
||||
});
|
||||
|
|
Reference in New Issue