forked from kevadesu/forgejo
Improve dashboard repo search (#1652)
* Add VueJS * Improve dashboard search * Fix tab switching * Fix input autofocus
This commit is contained in:
parent
51d0becb42
commit
ab79069dc7
6 changed files with 8654 additions and 32 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue