Skip to content

4.2.1

Choose a tag to compare

@rootindex rootindex released this 09 Jul 16:17
844505d

Fixed

  • OrderItemCountAggregator / OrderItemAmountAggregator: replaced the per-order N+1 collection loading (full sales_order scan plus one order-item collection load per order, every cron minute) with a single streamed query over sales_order_item. Item status is derived from the qty columns mirroring Magento\Sales\Model\Order\Item::getStatusId(), including children-inherited backorder; emitted series and labels are unchanged. The aggregators no longer unserialize product_options, so a corrupt row cannot abort the whole metric anymore. (#66)

Note: supersedes the 4.2.0 tag, which is not installable via composer (its composer.json version field still said 4.1.0).