Skip to content

Commit

Permalink
Fixed #14448
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Feb 26, 2024
1 parent 0adebc5 commit 59a3e82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes for Craft CMS 4

## Unreleased

- Fixed a bug where it wasn’t possible to eager-load Matrix block revisions, or load them via GraphQL. ([#14448](https://github.com/craftcms/cms/issues/14448))

## 4.7.4 - 2024-02-22

- The Plugin Store now shows “Tested on Cloud” and “Supports GraphQL” labels for plugins when appropriate.
Expand Down
1 change: 1 addition & 0 deletions src/fields/Matrix.php
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,7 @@ public function getEagerLoadingMap(array $sourceElements): array|null|false
'fieldId' => $this->id,
'allowOwnerDrafts' => true,
'allowOwnerRevisions' => true,
'revisions' => null,
],
];
}
Expand Down

0 comments on commit 59a3e82

Please sign in to comment.