List of Tasks API is not working with date filter
i'm trying to collect ClickUp tasks which are updated after specific date. using this filter DateUpdatedGt. and order by updated field.
as a result - DateUpdatedGt is not added to the final query and API return me all tickets , just ordered by updated field.
can you fix it?
@w-haibara can you please check this issue?
taskList, response, err := client.Tasks.GetTasks(ctx, lists[listNum].ID, &queryParams)
queryParams := clickup.GetTasksOptions{ Subtasks: true, IncludeClosed: true, Archived: collectArchived, Reverse: false, OrderBy: updated, DateUpdatedGt: startCollectionDate, }
this is how to reproduce the issue.
@MytsYurii Thank you for reporting error. Unfortunately, due to lack of time, I cannot solve this problem right away. If you would like to help, we are looking forward to receiving your PR.