Open otsalko opened 10 years ago
Hi,
I want to retrieve all tasks EXcluding sub-tasks on a task list. For this, I use GET /tasklists/{taskListId}/tasks.json?getSubTasks=no
So, it's getByTaskList from TeamWorkPm\Task respectively.
/** * @param int $task_list_id * @param mixed $params */ public function getByTaskList($task_list_id, $filter = 'all'){...}
How can I do this if getByTaskList accepts no other parameters but filter only?
P.S. Please notice, that the second argument should be mixed $params, as stated in the method doc.
Thanks.
Hi, I agree, what happens is that the api has changed since its initial version, and have not had time free to make fixed, to the code
Hi,
I want to retrieve all tasks EXcluding sub-tasks on a task list. For this, I use GET /tasklists/{taskListId}/tasks.json?getSubTasks=no
So, it's getByTaskList from TeamWorkPm\Task respectively.
How can I do this if getByTaskList accepts no other parameters but filter only?
P.S. Please notice, that the second argument should be mixed $params, as stated in the method doc.
Thanks.