Skip to content

Commit 39837b6

Browse files
committed
Add a comment
[ci skip]
1 parent b1b1948 commit 39837b6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/services/Elements.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3492,6 +3492,8 @@ private function _eagerLoadElementsInternal(string $elementType, array $elements
34923492
$query->offset = null;
34933493
$query->limit = null;
34943494

3495+
// The mapping criteria should take precedence here
3496+
// (see https://github.com/craftcms/cms/pull/18704)
34953497
$criteria = array_merge(
34963498
$plan->criteria,
34973499
$map['criteria'] ?? [],

0 commit comments

Comments
 (0)