mirror of
https://github.com/go-gitea/gitea
synced 2025-01-09 21:45:58 +01:00
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
@ -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…
Reference in New Issue
Block a user