|
|
@ -1800,7 +1800,7 @@ type SearchRepoOptions struct {
|
|
|
|
func SearchRepositoryByName(opts *SearchRepoOptions) (repos RepositoryList, _ int64, _ error) {
|
|
|
|
func SearchRepositoryByName(opts *SearchRepoOptions) (repos RepositoryList, _ int64, _ error) {
|
|
|
|
var (
|
|
|
|
var (
|
|
|
|
sess *xorm.Session
|
|
|
|
sess *xorm.Session
|
|
|
|
cond builder.Cond = builder.NewCond()
|
|
|
|
cond = builder.NewCond()
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
if len(opts.Keyword) == 0 {
|
|
|
|
if len(opts.Keyword) == 0 {
|
|
|
|