Fix org repos not showing on dashboard search
This commit is contained in:
parent
c4b5b121a5
commit
8917f47347
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
|
Reference in a new issue