Skip to content

Commit 6887b43

Browse files
committed
MCP-946: Price Index optimization
- Fix price index;
1 parent 50b58dd commit 6887b43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Indexer/Price/OptionsSelectBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ public function execute(string $indexTable, ?array $entityIds = null): Select
8585
'le.entity_id',
8686
'customer_group_id',
8787
'website_id',
88-
'final_price' => 'MIN(final_price)',
89-
'final_price' => 'MAX(final_price)',
88+
'min_price' => 'MIN(final_price)',
89+
'max_price' => 'MAX(final_price)',
9090
'tier_price' => 'MIN(tier_price)',
9191
]
9292
)->group(

0 commit comments

Comments
 (0)