Add limit to category #3150

This commit is contained in:
James Cole
2020-07-21 06:24:49 +02:00
parent 723696b971
commit 74ed80aaef
4 changed files with 7 additions and 6 deletions

View File

@@ -229,7 +229,7 @@ class Search implements SearchInterface
}
break;
case 'category':
$result = $this->categoryRepository->searchCategory($modifier['value']);
$result = $this->categoryRepository->searchCategory($modifier['value'], 25);
if ($result->count() > 0) {
$collector->setCategories($result);
}