Skip to content

Commit cac0962

Browse files
committed
MAGETWO-86585: Fixed typo in event name #13097
- Merge Pull Request #13097 from dverkade/magento2:patch-24 - Merged commits: 1. 3d9c304 2. bf4be3e
2 parents e150a7e + bf4be3e commit cac0962

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)