forked from forgejo/forgejo
feat: Add search bar on user profile page. (#787)
This commit is contained in:
parent
de81f68d4d
commit
a90a215662
6 changed files with 69 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue