Skip to content

Commit 88dedff

Browse files
ENGCOM-6901: [#25963] Fixed grids export: option labels are taken from grid filters and columns now. #26523
2 parents cde4f67 + dd89574 commit 88dedff

File tree

6 files changed

+326
-370
lines changed

6 files changed

+326
-370
lines changed

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

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

app/code/Magento/Sales/Test/Unit/Ui/Component/DataProvider/DocumentTest.php

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

app/code/Magento/Sales/Ui/Component/DataProvider/Document.php

Lines changed: 0 additions & 91 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)