-
Notifications
You must be signed in to change notification settings - Fork 91
Adding values filters to media gallery grid
Sergii Ivashchenko edited this page Dec 18, 2019
·
1 revision
To add a filter to the media gallery grid the following steps should be performed:
- A column should be added to
media_gallery_asset_grid
. Requires modification of the following files:
MediaGalleryUi/etc/db_schema.xml
MediaGalleryUi/etc/db_schema_whitelist.json
-
Magento\MediaGalleryUi\Model\UpdateAssetInGrid
should be updated to add values to introduced column. - Value or filter should be added and configured in the
MediaGalleryUi/view/adminhtml/ui_component/media_gallery_listing.xml