mirror of
https://github.com/go-gitea/gitea
synced 2025-01-18 11:57:44 +01:00
Fix labels display
This commit is contained in:
parent
6bd70d4d87
commit
96d44e58fd
@ -441,4 +441,8 @@ func (d *IssuePageMetaData) retrieveLabelsData(ctx *context.Context) {
|
|||||||
}
|
}
|
||||||
labelsData.AllLabels = append(labelsData.AllLabels, labelsData.RepoLabels...)
|
labelsData.AllLabels = append(labelsData.AllLabels, labelsData.RepoLabels...)
|
||||||
labelsData.AllLabels = append(labelsData.AllLabels, labelsData.OrgLabels...)
|
labelsData.AllLabels = append(labelsData.AllLabels, labelsData.OrgLabels...)
|
||||||
|
|
||||||
|
sort.Slice(labelsData.AllLabels, func(i, j int) bool {
|
||||||
|
return labelsData.AllLabels[i].Name < labelsData.AllLabels[j].Name
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user