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 /models/user.go | |
parent | de81f68d4d4a87c044034be682abffaccd399860 (diff) | |
download | gitea-a90a215662636fed1a2c67b49cf060e2936822f6.tar.gz gitea-a90a215662636fed1a2c67b49cf060e2936822f6.zip |
feat: Add search bar on user profile page. (#787)
Diffstat (limited to 'models/user.go')
-rw-r--r-- | models/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user.go b/models/user.go index c4a1ce3d56..c7ceacaa6b 100644 --- a/models/user.go +++ b/models/user.go @@ -491,7 +491,7 @@ func (u *User) GetOrganizationCount() (int64, error) { // GetRepositories returns repositories that user owns, including private repositories. func (u *User) GetRepositories(page, pageSize int) (err error) { - u.Repos, err = GetUserRepositories(u.ID, true, page, pageSize) + u.Repos, err = GetUserRepositories(u.ID, true, page, pageSize, "") return err } |