Fixed labels being displayed multiple times if they were associated with more than one task (#99)
This commit is contained in:
parent
71ef86e0df
commit
8d5a2685c4
7 changed files with 40 additions and 26 deletions
|
|
@ -144,10 +144,11 @@ func (l *Label) ReadAll(search string, a web.Auth, page int) (ls interface{}, er
|
|||
}
|
||||
|
||||
return getLabelsByTaskIDs(&LabelByTaskIDsOptions{
|
||||
Search: search,
|
||||
User: u,
|
||||
TaskIDs: taskIDs,
|
||||
GetUnusedLabels: true,
|
||||
Search: search,
|
||||
User: u,
|
||||
TaskIDs: taskIDs,
|
||||
GetUnusedLabels: true,
|
||||
GroupByLabelIDsOnly: true,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue