Skip to content

Commit 6178035

Browse files
committed
add old event
1 parent e878105 commit 6178035

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/DataProvider.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,14 @@ public function getSearchableAttributes($backendType = null)
317317
$attributes = $productAttributes->getItems();
318318

319319
/**
320-
* Event argument `catelogsearch_searchable_attributes_load_after` is @deprecated 100.2.5. Use
320+
* Event argument `catelogsearch_searchable_attributes_load_after` is @deprecated. Use
321321
* `catalogsearch_searchable_attributes_load_after` instead.
322322
*/
323+
$this->eventManager->dispatch(
324+
'catelogsearch_searchable_attributes_load_after',
325+
['engine' => $this->engine, 'attributes' => $attributes]
326+
);
327+
323328
$this->eventManager->dispatch(
324329
'catalogsearch_searchable_attributes_load_after',
325330
['engine' => $this->engine, 'attributes' => $attributes]

0 commit comments

Comments
 (0)