forked from forgejo/forgejo
Update modules/indexer/issues/indexer.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
This commit is contained in:
parent
a763ccada1
commit
632757bfa7
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ func SearchIssuesByKeyword(repoIDs []int64, keyword string) ([]int64, error) {
|
||||||
indexer := holder.get()
|
indexer := holder.get()
|
||||||
|
|
||||||
if indexer == nil {
|
if indexer == nil {
|
||||||
log.Error("Unable to get indexer!")
|
log.Error("SearchIssuesByKeyword(): unable to get indexer!")
|
||||||
return nil, fmt.Errorf("unable to get issue indexer")
|
return nil, fmt.Errorf("unable to get issue indexer")
|
||||||
}
|
}
|
||||||
res, err := indexer.Search(keyword, repoIDs, 1000, 0)
|
res, err := indexer.Search(keyword, repoIDs, 1000, 0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue