-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathPatch-Anowave-ec-102-fix-bug-in-admin.patch
34 lines (32 loc) · 1.79 KB
/
Patch-Anowave-ec-102-fix-bug-in-admin.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
diff --git a/vendor/anowave/ec/Model/ResourceModel/Consent/Grid/Collection.php b/vendor/anowave/ec/Model/ResourceModel/Consent/Grid/Collection.php
index 121c8f710..e0b1ed53b 100644
--- a/vendor/anowave/ec/Model/ResourceModel/Consent/Grid/Collection.php
+++ b/vendor/anowave/ec/Model/ResourceModel/Consent/Grid/Collection.php
@@ -32,7 +32,7 @@ use Magento\Framework\Api\Search\AggregationInterface;
use Psr\Log\LoggerInterface;
-abstract class Collection extends \Anowave\Ec\Model\ResourceModel\Consent\Collection implements SearchResultInterface
+class Collection extends \Anowave\Ec\Model\ResourceModel\Consent\Collection implements SearchResultInterface
{
/**
* Aggregations
diff --git a/vendor/anowave/ec/etc/di.xml b/vendor/anowave/ec/etc/di.xml
index f5b913c3b..3c3c76b98 100644
--- a/vendor/anowave/ec/etc/di.xml
+++ b/vendor/anowave/ec/etc/di.xml
@@ -3,14 +3,14 @@
<type name="Magento\Sales\Api\OrderManagementInterface">
<plugin name="ec" type="Anowave\Ec\Plugin\Order\PlaceAfter" sortOrder="99" />
</type>
- <virtualType name="Anowave\Ec\Model\ResourceModel\Consent\Collection">
+ <type name="Anowave\Ec\Model\ResourceModel\Consent\Collection">
<arguments>
<argument name="mainTable" xsi:type="string">ae_ec_gdpr</argument>
<argument name="eventPrefix" xsi:type="string">track_consent_grid_collection</argument>
<argument name="eventObject" xsi:type="string">consent_grid_collection</argument>
<argument name="resourceModel" xsi:type="string">Anowave\Ec\Model\ResourceModel\Consent</argument>
</arguments>
- </virtualType>
+ </type>
<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
<arguments>
<argument name="collections" xsi:type="array">