Skip to content

Commit f491ac8

Browse files
committed
MAGETWO-57850: Unable to filter blocks using store view and block ID
1 parent 4d89955 commit f491ac8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Cms/Model/ResourceModel/Block/Collection.php

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ protected function _construct()
4141
{
4242
$this->_init(\Magento\Cms\Model\Block::class, \Magento\Cms\Model\ResourceModel\Block::class);
4343
$this->_map['fields']['store'] = 'store_table.store_id';
44+
$this->_map['fields']['block_id'] = 'main_table.block_id';
4445
}
4546

4647
/**

0 commit comments

Comments
 (0)