Fixed missing first page of data in tasks API call.

This commit is contained in:
rocketdebris 2026-01-19 15:40:50 -05:00
parent 6ae6ae6812
commit 1429f68b9e

View file

@ -61,10 +61,12 @@ def get_tasks_table_data(filters={}, sortings=[], page=1, page_size=10):
fields=["*"], fields=["*"],
filters=processed_filters, filters=processed_filters,
limit=page_size, limit=page_size,
start=page * page_size, start=(page-1) * page_size,
order_by=processed_sortings order_by=processed_sortings
) )
print("TASKS?", tasks, page, page_size)
tableRows = [] tableRows = []
for task in tasks: for task in tasks:
tableRow = {} tableRow = {}