Browse Source

Fix org repos not showing on dashboard search

tags/v1.2.0-rc1
Andrey Nering 7 years ago
parent
commit
8917f47347
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      routers/api/v1/repo/repo.go

+ 1
- 0
routers/api/v1/repo/repo.go View File

@@ -32,6 +32,7 @@ func Search(ctx *context.APIContext) {
Keyword: strings.Trim(ctx.Query("q"), " "),
OwnerID: ctx.QueryInt64("uid"),
PageSize: convert.ToCorrectPageSize(ctx.QueryInt("limit")),
Searcher: ctx.User,
}

// Check visibility.

Loading…
Cancel
Save