summaryrefslogtreecommitdiffstats
path: root/routers/repo/issue_label.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/issue_label.go')
-rw-r--r--routers/repo/issue_label.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/issue_label.go b/routers/repo/issue_label.go
index 98f2dded31..e61fcbe5cb 100644
--- a/routers/repo/issue_label.go
+++ b/routers/repo/issue_label.go
@@ -50,7 +50,7 @@ func InitializeLabels(ctx *context.Context, form auth.InitializeLabelsForm) {
// RetrieveLabels find all the labels of a repository
func RetrieveLabels(ctx *context.Context) {
- labels, err := models.GetLabelsByRepoID(ctx.Repo.Repository.ID, ctx.Query("sort"))
+ labels, err := models.GetLabelsByRepoID(ctx.Repo.Repository.ID, ctx.Query("sort"), models.ListOptions{})
if err != nil {
ctx.ServerError("RetrieveLabels.GetLabels", err)
return