Fix error in search

This commit is contained in:
DariusIII
2022-04-18 10:54:14 +02:00
parent c4dee27f4e
commit 29b7141efe
+1 -1
View File
@@ -1228,7 +1228,7 @@ class Releases extends Release
$catRow = Category::find($currRow['categories_id']);
$parentCat = $catRow['root_categories_id'];
$results = $this->search(['searchname' => getSimilarName($name)], -1, '', '', -1, -1, 0, config('nntmux.items_per_page'), '', -1, $excludedCats, [$parentCat]);
$results = $this->search(['searchname' => getSimilarName($name)], -1, '', '', -1, -1, 0, config('nntmux.items_per_page'), '', -1, $excludedCats, 'basic', [$parentCat]);
if (! $results) {
return $ret;
}