Skip to content

Commit 6c478f7

Browse files
Maciej Pawłowskicieslix
authored andcommitted
fix to virtualizing concrete class
1 parent fee17d2 commit 6c478f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/di.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,13 @@
118118
<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
119119
<arguments>
120120
<argument name="collections" xsi:type="array">
121-
<item name="allegro_orders_with_errors_listing_data_source" xsi:type="string">Macopedia\Allegro\Model\ResourceModel\OrderLog\Collection</item>
121+
<item name="allegro_orders_with_errors_listing_data_source" xsi:type="string">Macopedia\Allegro\Model\ResourceModel\OrderLog\Collection\Grid</item>
122122
<item name="allegro_reservations_listing_data_source" xsi:type="string">Macopedia\Allegro\Model\ResourceModel\Reservation\Collection\Grid</item>
123123
</argument>
124124
</arguments>
125125
</type>
126126

127-
<virtualType name="Macopedia\Allegro\Model\ResourceModel\OrderLog\Collection" type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
127+
<virtualType name="Macopedia\Allegro\Model\ResourceModel\OrderLog\Collection\Grid" type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
128128
<arguments>
129129
<argument name="mainTable" xsi:type="string">allegro_orders_with_errors</argument>
130130
<argument name="resourceModel" xsi:type="string">Macopedia\Allegro\Model\ResourceModel\OrderLog</argument>

0 commit comments

Comments
 (0)