We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b314ba commit c0103f4Copy full SHA for c0103f4
app/code/Magento/Paypal/Model/ResourceModel/Billing/Agreement/Collection.php
@@ -90,4 +90,17 @@ public function addCustomerDetails()
90
);
91
return $this;
92
}
93
+
94
+ /**
95
+ * @param array|string $field
96
+ * @param null|string|array $condition
97
+ * @return $this
98
+ */
99
+ public function addFieldToFilter($field, $condition = null)
100
+ {
101
+ if (in_array($field , ['created_at', 'updated_at'])) {
102
+ $field = 'main_table.' .$field;
103
+ }
104
+ return parent::addFieldToFilter($field, $condition); // TODO: Change the autogenerated stub
105
106
0 commit comments