1
0

fix(caldav): make sure only labels where the user has permission to use them are used

Follow-up for a62b57ac62
This commit is contained in:
kolaente
2023-03-05 14:03:09 +01:00
parent eda5135b3c
commit 066c26f83e
4 changed files with 70 additions and 31 deletions

View File

@ -612,7 +612,7 @@ func addAssigneesToTasks(s *xorm.Session, taskIDs []int64, taskMap map[int64]*Ta
// Get all labels for all the tasks
func addLabelsToTasks(s *xorm.Session, taskIDs []int64, taskMap map[int64]*Task) (err error) {
labels, _, _, err := getLabelsByTaskIDs(s, &LabelByTaskIDsOptions{
labels, _, _, err := GetLabelsByTaskIDs(s, &LabelByTaskIDsOptions{
TaskIDs: taskIDs,
Page: -1,
})