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
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

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