fix: join field with the target relationship inside localized array (#10621)

Fixes https://github.com/payloadcms/payload/issues/10356
This commit is contained in:
Sasha
2025-01-21 02:18:26 +02:00
committed by GitHub
parent 46c1b375b8
commit 25a70ab455
8 changed files with 133 additions and 20 deletions

View File

@@ -109,6 +109,12 @@ export const Categories: CollectionConfig = {
collection: 'posts',
on: 'array.category',
},
{
name: 'localizedArrayPosts',
type: 'join',
collection: 'posts',
on: 'localizedArray.category',
},
{
name: 'blocksPosts',
type: 'join',