Skip to content

Commit

Permalink
Fix Neo field exports
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Dec 6, 2023
1 parent 85e0855 commit 3a92016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/Fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ private function _getEagerLoadingMapForField(FieldInterface $field, ?string $pre

foreach ($field->getBlockTypes() as $blocktype) {
foreach ($blocktype->getCustomFields() as $subField) {
$nestedKeys = $this->_getEagerLoadingMapForField($subField, $prefix . $field->handle . '.');
$nestedKeys = $this->_getEagerLoadingMapForField($subField, $prefix . $field->handle . '.' . $blocktype->handle . ':');

if ($nestedKeys) {
$keys = array_merge($keys, $nestedKeys);
Expand Down

0 comments on commit 3a92016

Please sign in to comment.