aboutsummaryrefslogtreecommitdiff
path: root/routers/home.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/home.go')
-rw-r--r--routers/home.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/home.go b/routers/home.go
index 22a131a6..63a56490 100644
--- a/routers/home.go
+++ b/routers/home.go
@@ -77,6 +77,7 @@ func RenderRepoSearch(ctx *context.Context, opts *RepoSearchOptions) {
} else {
repos, count, err = models.SearchRepositoryByName(&models.SearchRepoOptions{
Keyword: keyword,
+ UserID: ctx.User.ID,
OrderBy: opts.OrderBy,
Private: opts.Private,
Page: page,