Skip to content

Commit 2873afd

Browse files
authored
Merge pull request #3575 from rbayet/fix-tracker-order-items-date-update
[Tracker] Ignore docs w/o page.order.items in schema update
2 parents dbb35de + 7ab10c7 commit 2873afd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/module-elasticsuite-tracker/Model/Event/Mapping/Update/OrderItemDate.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,10 @@ public function updateOrderItemDate()
332332
QueryInterface::TYPE_TERM,
333333
['field' => 'page.type.identifier', 'value' => 'checkout_onepage_success']
334334
),
335+
$this->queryFactory->create(
336+
QueryInterface::TYPE_EXISTS,
337+
['field' => 'page.order.items'],
338+
),
335339
],
336340
'mustNot' => [
337341
$this->queryFactory->create(

0 commit comments

Comments
 (0)