You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -133,7 +139,43 @@ public static function attachConditionToCollectionDataProvider(): array
133
139
'value' => 'sku1,sku2,sku3,sku4,sku5',
134
140
]
135
141
],
136
-
"WHERE ((((`e`.`entity_id` IN (SELECT `catalog_category_product`.`product_id` FROM `catalog_category_product` WHERE (category_id IN ('3')))) AND(`e`.`entity_id` = '2017-09-15 00:00:00') AND(`e`.`sku` IN ('sku1', 'sku2', 'sku3', 'sku4', 'sku5')) ))) AND (e.created_in <= 1) AND (e.updated_in > 1) ORDER BY (FIELD(`e`.`sku`, 'sku1', 'sku2', 'sku3', 'sku4', 'sku5'))"
142
+
"WHERE ((((`e`.`entity_id` IN (SELECT `catalog_category_product`.`product_id` FROM " .
143
+
"`catalog_category_product` WHERE (category_id IN ('3')))) AND(`e`.`entity_id` = '2017-09-15 00:00:00')"
144
+
." AND(`e`.`sku` IN ('sku1', 'sku2', 'sku3', 'sku4', 'sku5')) ))) AND (e.created_in <= 1) AND " .
145
+
"(e.updated_in > 1) ",
146
+
"ORDER BY (FIELD(`e`.`sku`, 'sku1', 'sku2', 'sku3', 'sku4', 'sku5'))"
147
+
],
148
+
[
149
+
[
150
+
'1' => [
151
+
'type' => CombineCondition::class,
152
+
'aggregator' => 'all',
153
+
'value' => '1',
154
+
'new_child' => '',
155
+
],
156
+
'1--1' => [
157
+
'type' => ProductCondition::class,
158
+
'attribute' => 'category_ids',
159
+
'operator' => '==',
160
+
'value' => '3',
161
+
],
162
+
'1--2' => [
163
+
'type' => ProductCondition::class,
164
+
'attribute' => 'sku',
165
+
'operator' => '()',
166
+
'value' => 'sku1,sku2,sku3',
167
+
],
168
+
'1--3' => [
169
+
'type' => ProductCondition::class,
170
+
'attribute' => 'multiselect_attribute',
171
+
'operator' => '{}',
172
+
]
173
+
],
174
+
"WHERE ((((`e`.`entity_id` IN (SELECT `catalog_category_product`.`product_id` FROM " .
175
+
"`catalog_category_product` WHERE (category_id IN ('3')))) AND(`e`.`sku` IN " .
176
+
"('sku1', 'sku2', 'sku3')) AND(`multiselect_attribute` LIKE '%%') ))) AND " .
177
+
"(e.created_in <= 1) AND (e.updated_in > 1) ",
178
+
"ORDER BY (FIELD(`e`.`sku`, 'sku1', 'sku2', 'sku3'))"
0 commit comments