File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/ImportExport/Block/Adminhtml/Export Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -433,13 +433,13 @@ public function getRowUrl($row)
433
433
* Prepare collection by setting page number, sorting etc..
434
434
*
435
435
* @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
437
437
*/
438
438
public function prepareCollection (\Magento \Framework \Data \Collection $ collection )
439
439
{
440
440
$ attributeGridCollection = $ this ->attributeGridCollectionFactory ->create ();
441
441
$ gridCollection = $ attributeGridCollection ->setItems ($ collection ->getItems ());
442
442
$ this ->setCollection ($ gridCollection );
443
- return $ this -> getCollection () ;
443
+ return $ collection ;
444
444
}
445
445
}
You can’t perform that action at this time.
0 commit comments