Improve dashboard repo search (#1652)

* Add VueJS

* Improve dashboard search

* Fix tab switching

* Fix input autofocus
This commit is contained in:
Andrey Nering authored and Lunny Xiao committed 2017-05-09 08:31:30 +08:00
1 parent 51d0becb42
commit ab79069dc7
6 files changed
+8654 -32

No files matched your search

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