Skip to content

Commit 466e95c

Browse files
fix: disable DAL autoloading for customer association
1 parent efe7dd7 commit 466e95c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Content/MailArchive/MailArchiveDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected function defineFields(): FieldCollection
6666
new ManyToOneAssociationField('salesChannel', 'salesChannelId', SalesChannelDefinition::class, 'id', true),
6767

6868
new FkField('customerId', 'customerId', CustomerDefinition::class),
69-
new ManyToOneAssociationField('customer', 'customerId', CustomerDefinition::class, 'id', true),
69+
new ManyToOneAssociationField('customer', 'customerId', CustomerDefinition::class, 'id', false),
7070

7171
new FkField('order_id', 'orderId', OrderDefinition::class),
7272
new ReferenceVersionField(OrderDefinition::class, 'order_version_id'),

0 commit comments

Comments
 (0)