feat: only load tasks which start in the currently selected range
This commit is contained in:
parent
9501592719
commit
5e3e79c01b
1 changed files with 4 additions and 3 deletions
|
@ -75,10 +75,11 @@ async function loadTasks() {
|
||||||
const params = {
|
const params = {
|
||||||
sort_by: ['start_date', 'done', 'id'],
|
sort_by: ['start_date', 'done', 'id'],
|
||||||
order_by: ['asc', 'asc', 'desc'],
|
order_by: ['asc', 'asc', 'desc'],
|
||||||
filter_by: ['done'], // TODO: only load tasks in the current date range
|
filter_by: ['done', 'start_date', 'start_date'],
|
||||||
filter_comparator: ['equals'],
|
filter_comparator: ['equals', 'greater_equals', 'less_equals'],
|
||||||
filter_value: ['false'],
|
filter_value: ['false', props.dateFrom, props.dateTo],
|
||||||
filter_concat: 'and',
|
filter_concat: 'and',
|
||||||
|
filter_include_nulls: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
const taskCollectionService = new TaskCollectionService()
|
const taskCollectionService = new TaskCollectionService()
|
||||||
|
|
Loading…
Reference in a new issue