We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ae1d7c7 + 6ec532d commit 17cc643Copy full SHA for 17cc643
app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Attribute.php
@@ -56,10 +56,10 @@ public function beforeSave(
56
) {
57
$this->saveIsNew = $attribute->isObjectNew();
58
$this->saveNeedInvalidation = (
59
- $attribute->dataHasChangedFor('is_searchable')
60
- || $attribute->dataHasChangedFor('is_filterable')
61
- || $attribute->dataHasChangedFor('is_visible_in_advanced_search')
62
- ) && ! $this->saveIsNew;
+ $attribute->dataHasChangedFor('is_searchable')
+ || $attribute->dataHasChangedFor('is_filterable')
+ || $attribute->dataHasChangedFor('is_visible_in_advanced_search')
+ );
63
}
64
65
/**
0 commit comments