Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ordering of indexer #21

Open
brosenberger opened this issue Sep 19, 2018 · 0 comments
Open

add ordering of indexer #21

brosenberger opened this issue Sep 19, 2018 · 0 comments

Comments

@brosenberger
Copy link

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?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant