Skip to content

Commit 9e1fbaa

Browse files
committed
MC-33499: Grid Filter not working for Scheduled Export when selected any kind of Entity Type
1 parent 772cbf5 commit 9e1fbaa

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/ImportExport/Block/Adminhtml/Export

1 file changed

+2
-2
lines changed

app/code/Magento/ImportExport/Block/Adminhtml/Export/Filter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,13 +433,13 @@ public function getRowUrl($row)
433433
* Prepare collection by setting page number, sorting etc..
434434
*
435435
* @param \Magento\Framework\Data\Collection $collection
436-
* @return \Magento\Framework\Data\Collection|\Magento\ImportExport\Model\ResourceModel\Export\AttributeGridCollection
436+
* @return \Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection
437437
*/
438438
public function prepareCollection(\Magento\Framework\Data\Collection $collection)
439439
{
440440
$attributeGridCollection = $this->attributeGridCollectionFactory->create();
441441
$gridCollection = $attributeGridCollection->setItems($collection->getItems());
442442
$this->setCollection($gridCollection);
443-
return $this->getCollection();
443+
return $collection;
444444
}
445445
}

0 commit comments

Comments
 (0)