diff options
author | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-02-04 20:20:20 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-02-04 20:20:20 +0800 |
commit | a90a215662636fed1a2c67b49cf060e2936822f6 (patch) | |
tree | 78ff0fbcb36fb252e671fdbff6011483aca53ce6 /routers/api/v1/repo | |
parent | de81f68d4d4a87c044034be682abffaccd399860 (diff) | |
download | gitea-a90a215662636fed1a2c67b49cf060e2936822f6.tar.gz gitea-a90a215662636fed1a2c67b49cf060e2936822f6.zip |
feat: Add search bar on user profile page. (#787)
Diffstat (limited to 'routers/api/v1/repo')
-rw-r--r-- | routers/api/v1/repo/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/repo/repo.go b/routers/api/v1/repo/repo.go index fea625fbe7..d65f30d729 100644 --- a/routers/api/v1/repo/repo.go +++ b/routers/api/v1/repo/repo.go @@ -80,7 +80,7 @@ func Search(ctx *context.APIContext) { // ListMyRepos list all my repositories // see https://github.com/gogits/go-gogs-client/wiki/Repositories#list-your-repositories func ListMyRepos(ctx *context.APIContext) { - ownRepos, err := models.GetUserRepositories(ctx.User.ID, true, 1, ctx.User.NumRepos) + ownRepos, err := models.GetUserRepositories(ctx.User.ID, true, 1, ctx.User.NumRepos, "") if err != nil { ctx.Error(500, "GetRepositories", err) return |