1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-12 13:37:20 +00:00

feat: Add search bar on user profile page. (#787)

This commit is contained in:
Bo-Yi Wu
2017-02-04 20:20:20 +08:00
committed by Lunny Xiao
parent de81f68d4d
commit a90a215662
6 changed files with 69 additions and 10 deletions

View File

@ -383,7 +383,7 @@ func showOrgProfile(ctx *context.Context) {
ctx.Data["Repos"] = repos
} else {
showPrivate := ctx.IsSigned && ctx.User.IsAdmin
repos, err = models.GetUserRepositories(org.ID, showPrivate, page, setting.UI.User.RepoPagingNum)
repos, err = models.GetUserRepositories(org.ID, showPrivate, page, setting.UI.User.RepoPagingNum, "")
if err != nil {
ctx.Handle(500, "GetRepositories", err)
return