field_videos fix

This commit is contained in:
2022-03-22 10:36:14 +01:00
parent 7bb3b338c0
commit 19f52617ce
@@ -363,7 +363,7 @@ class EnFrSchemaExtension extends SdlSchemaExtensionPluginBase {
$builder->produce('property_path') $builder->produce('property_path')
->map('type', $builder->fromValue('entity:node')) ->map('type', $builder->fromValue('entity:node'))
->map('value', $builder->fromParent()) ->map('value', $builder->fromParent())
->map('path', $builder->fromValue('field_video')) ->map('path', $builder->fromValue('field_videos'))
); );
$registry->addFieldResolver('Textref', 'tags', $registry->addFieldResolver('Textref', 'tags',
@@ -522,7 +522,7 @@ class EnFrSchemaExtension extends SdlSchemaExtensionPluginBase {
$builder->produce('property_path') $builder->produce('property_path')
->map('type', $builder->fromValue('entity:node')) ->map('type', $builder->fromValue('entity:node'))
->map('value', $builder->fromParent()) ->map('value', $builder->fromParent())
->map('path', $builder->fromValue('field_video')) ->map('path', $builder->fromValue('field_videos'))
); );
$registry->addFieldResolver('Textprod', 'tagsprod', $registry->addFieldResolver('Textprod', 'tagsprod',