Fixed not getting all labels when retrieving a list with all tasks

This commit is contained in:
kolaente 2019-10-20 17:56:53 +02:00
parent eb279fdba3
commit 82f11c4ec2
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 1 deletions

View File

@ -413,7 +413,10 @@ func addMoreInfoToTasks(taskMap map[int64]*Task) (tasks []*Task, err error) {
}
// Get all labels for all the tasks
labels, err := getLabelsByTaskIDs(&LabelByTaskIDsOptions{TaskIDs: taskIDs})
labels, err := getLabelsByTaskIDs(&LabelByTaskIDsOptions{
TaskIDs: taskIDs,
Page: -1,
})
if err != nil {
return
}