diff options
author | Andrey Nering <andrey.nering@gmail.com> | 2017-05-08 21:31:30 -0300 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-05-09 08:31:30 +0800 |
commit | ab79069dc79c4a816eb8d53cbd90fc38833ec117 (patch) | |
tree | a4d59642968befa76afc4330345b8eaf23028a8f /models/repo_list.go | |
parent | 51d0becb4232eab6b18959ccc4a895e5df30c4dc (diff) | |
download | gitea-ab79069dc79c4a816eb8d53cbd90fc38833ec117.tar.gz gitea-ab79069dc79c4a816eb8d53cbd90fc38833ec117.zip |
Improve dashboard repo search (#1652)
* Add VueJS
* Improve dashboard search
* Fix tab switching
* Fix input autofocus
Diffstat (limited to 'models/repo_list.go')
-rw-r--r-- | models/repo_list.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/models/repo_list.go b/models/repo_list.go index 0c27281f17..a2dae85c84 100644 --- a/models/repo_list.go +++ b/models/repo_list.go @@ -115,9 +115,6 @@ func SearchRepositoryByName(opts *SearchRepoOptions) (repos RepositoryList, coun cond = builder.NewCond() ) - if len(opts.Keyword) == 0 { - return repos, 0, nil - } opts.Keyword = strings.ToLower(opts.Keyword) if opts.Page <= 0 { |