m2.SmartCategory icon indicating copy to clipboard operation
m2.SmartCategory copied to clipboard

add ordering of indexer

Open brosenberger opened this issue 6 years ago • 0 comments

as the smart category indexer writes entries into the table catalog_category_product the indexer should run before the indexer of the catagory_product_index to include all changes generated by the smart category.

the ordering could be changed within the module by adding following snippet to the indexer.xml:

<indexer id="catalog_category_product"> <dependencies> <indexer id="smartcategory_product"/> </dependencies> </indexer>

additionally the according category-product index should be invalidated (i guess by using the indexerregistry?)

brosenberger avatar Sep 19 '18 09:09 brosenberger