Skip to content

Commit 7bb8d05

Browse files
author
Oleksii Korshenko
authored
MAGETWO-86585: Fixed typo in event name #13097
2 parents 1d987d5 + 75d7f1a commit 7bb8d05

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,16 @@ public function getSearchableAttributes($backendType = null)
204204
/** @var \Magento\Eav\Model\Entity\Attribute[] $attributes */
205205
$attributes = $productAttributes->getItems();
206206

207+
/** @deprecated */
207208
$this->eventManager->dispatch(
208209
'catelogsearch_searchable_attributes_load_after',
209210
['engine' => $this->engine, 'attributes' => $attributes]
210211
);
212+
213+
$this->eventManager->dispatch(
214+
'catalogsearch_searchable_attributes_load_after',
215+
['engine' => $this->engine, 'attributes' => $attributes]
216+
);
211217

212218
$entity = $this->eavConfig->getEntityType(\Magento\Catalog\Model\Product::ENTITY)->getEntity();
213219

0 commit comments

Comments
 (0)