mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update manticoresearch searchIndexes function to return proper data
This commit is contained in:
@@ -200,7 +200,7 @@ class Predb extends Model
|
||||
$ids = (new ElasticSearchSiteSearch())->predbIndexSearch($search);
|
||||
} else {
|
||||
$manticore = new ManticoreSearch();
|
||||
$ids = Arr::pluck($manticore->searchIndexes('predb_rt', $search, ['title']), 'id');
|
||||
$ids = Arr::get($manticore->searchIndexes('predb_rt', $search, ['title']), 'id');
|
||||
}
|
||||
$sql->whereIn('predb.id', $ids);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user