1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Improve dashboard repo search (#1652)

* Add VueJS

* Improve dashboard search

* Fix tab switching

* Fix input autofocus
This commit is contained in:
Andrey Nering
2017-05-08 21:31:30 -03:00
committed by Lunny Xiao
parent 51d0becb42
commit ab79069dc7
6 changed files with 8654 additions and 32 deletions

View File

@@ -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 {