-
Notifications
You must be signed in to change notification settings - Fork 91
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
Used In Content Entities Filters #1593
Used In Content Entities Filters #1593
Conversation
@magento run all tests |
@magento run all tests |
…ion into used-in-products-filter
@magento run all tests |
@magento run all tests |
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.
Hi @sivaschenko, thanks for the PR, it looks great! Please follow some small comments below:
class Entity implements CustomFilterInterface | ||
{ | ||
private const TABLE_ALIAS = 'main_table'; | ||
private const TABLE_MEDIA_CONTENT_ASSET = 'media_content_asset'; |
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.
Since we are depending on the content table here, shouldn't we add MediaContent implementation as dependency on MediaGalleryUi?
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.
Static test says no (and it would probably fail if we add it)
...CatalogUi/Test/Mftf/ActionGroup/AdminMediaGalleryAddImageToProductDescriptionActionGroup.xml
Outdated
Show resolved
Hide resolved
@magento run all tests |
Thanks for the review @gabrieldagama ! The changes have been applied |
…e-stock-integration into used-in-products-filter
@magento run all tests |
@magento run all tests |
@magento run all tests |
Hi @sivaschenko, thank you for your contribution! |
Fixed Issues (if relevant)
Fixes #1465 Introduce Used In Products filter
Fixes #1466 Introduce Used In Categories filter
Fixes #1467 Introduce Used In Pages filter
Fixes #1468 Introduce Used In Blocks filter
Covered with MFTF tests
Depends on: https://github.com/magento/magento2-infrastructure/pull/1242