Skip to content

Commit 4a78ca5

Browse files
committed
Grid Export rendered data is not reflecting in the exported File, Displayed ID instead of Rendered Label #25963.
Removed deprecated class.
1 parent b117b0c commit 4a78ca5

File tree

2 files changed

+6
-36
lines changed

2 files changed

+6
-36
lines changed

app/code/Magento/Sales/Model/ResourceModel/Order/Invoice/Grid/Collection.php

Lines changed: 0 additions & 36 deletions
This file was deleted.

app/code/Magento/Sales/etc/di.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,12 @@
832832
</argument>
833833
</arguments>
834834
</type>
835+
<virtualType name="Magento\Sales\Model\ResourceModel\Order\Invoice\Grid\Collection" type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
836+
<arguments>
837+
<argument name="mainTable" xsi:type="string">sales_invoice_grid</argument>
838+
<argument name="resourceModel" xsi:type="string">Magento\Sales\Model\ResourceModel\Order\Invoice</argument>
839+
</arguments>
840+
</virtualType>
835841
<type name="Magento\Sales\Model\Order\Config">
836842
<arguments>
837843
<argument name="state" xsi:type="object">Magento\Framework\App\State\Proxy</argument>

0 commit comments

Comments
 (0)