Comment Comment by mirekm Thanks for flagging this. The `.filter(discounted_price_dirty=True)` result was never assigned, so it recalculated every listing.Fixed here: https://github.com/saleor/saleor/pull/19984 The old test passed for the wrong reason, so we fixed that too.Bonus: we've also created semgrep rule to prevent unassigned querysets: https://github.com/saleor/saleor/pull/19997 parent mirekm 6 days ago
Fixed here: https://github.com/saleor/saleor/pull/19984 The old test passed for the wrong reason, so we fixed that too.
Bonus: we've also created semgrep rule to prevent unassigned querysets: https://github.com/saleor/saleor/pull/19997