Skip to content

Commit

Permalink
Fixed Analytics Page Issue in Magento Admin
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitalgolia committed Jul 18, 2022
1 parent e163525 commit eeeadd5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions DataProvider/Analytics/IndexEntityDataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ public function getCategoryCollection($storeId, $objectIds)

$collection
->setStoreId($storeId)
->addStoreFilter($storeId)
->addAttributeToSelect('name')
->addAttributeToFilter('entity_id', ['in' => $objectIds]);

Expand All @@ -135,7 +134,6 @@ public function getPageCollection($storeId, $objectIds)
$collection = $this->pageCollection->create();

$collection
->setStoreId($storeId)
->addStoreFilter($storeId)
->addFieldToSelect(['page_id', 'title', 'identifier'])
->addFieldToFilter('page_id', ['in' => $objectIds]);
Expand Down

0 comments on commit eeeadd5

Please sign in to comment.