-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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 mass action to invalidate indexes via admin #25860
Add mass action to invalidate indexes via admin #25860
Conversation
Hi @fredden. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
app/code/Magento/Indexer/Controller/Adminhtml/Indexer/MassInvalidate.php
Show resolved
Hide resolved
app/code/Magento/Indexer/Controller/Adminhtml/Indexer/MassInvalidate.php
Outdated
Show resolved
Hide resolved
app/code/Magento/Indexer/Controller/Adminhtml/Indexer/MassInvalidate.php
Outdated
Show resolved
Hide resolved
app/code/Magento/Indexer/view/adminhtml/layout/indexer_indexer_list_grid.xml
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now changes looks good, please fix tests issues
app/code/Magento/Indexer/Controller/Adminhtml/Indexer/MassInvalidate.php
Show resolved
Hide resolved
✔️ QA Passed |
36ea58b
to
45bb428
Compare
…o admin-indexer-massinvalidte
…o admin-indexer-massinvalidte
5add643
to
e7b0498
Compare
e7b0498
to
1fa6f08
Compare
@magento run all tests |
The failure of Sanity check is a known issue. https://jira.corp.magento.com/browse/MTS-852 |
Hi @fredden, thank you for your contribution! |
Description (*)
This pull request adds the ability for an administrator to mark indexes as invalid via the admin. The indexes will then be run by the normal minutely cron.
Fixed Issues (if relevant)
I am not aware of any open issues regarding this change.
Manual testing scenarios (*)
Questions or comments
I have used the existing permission "Change indexer mode", but can move this to its own permission category if desired.
I copied the 'masschangelog' controller & test to make this action.
Contribution checklist (*)