1
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-10-03 22:03:15 +00:00

Fix org repos not showing on dashboard search

This commit is contained in:
Andrey Nering 2017-05-18 11:15:32 -03:00
parent c4b5b121a5
commit 8917f47347

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.