Add Index Listener
This commit is contained in:
@@ -12,6 +12,12 @@ class IndexPageListener
|
||||
|
||||
public function __invoke(string $content, array &$data, array &$set): void
|
||||
{
|
||||
|
||||
file_put_contents(
|
||||
TL_ROOT . '/var/logs/meili-debug.log',
|
||||
json_encode($set, JSON_PRETTY_PRINT) . "\n\n",
|
||||
FILE_APPEND
|
||||
);
|
||||
$searchData = $this->dataProvider->getSearchData($set);
|
||||
|
||||
if ($searchData === null) {
|
||||
|
||||
Reference in New Issue
Block a user