#Join Fields Not Localizing in CMS Query

13 messages · Page 1 of 1 (latest)

hexed gullBOT
#

Hey, one quick question, I'm not sure if this is a bug, or if there's a workaround...

I realized that, in join fields, the retrieve documents are not localized, they just use the default locale.

I'm in the Categories collection and I have join field to see all the Products that are using that specific Category. But it always shows the Products in the default locale (en_US) instead of using the globally selected locale.

I tried adding localized: true to the join field object, but it doesn't work.

Any way to do this? Hopefully don't have to do a custom component.

Thanks!

jagged agateBOT
#

Original message from @ember stirrup - Moved from #general message

frigid furnace
#

Hey @ember stirrup

So, I think the join field automatically takes on the localized property of its target field but that's besides the point. Can I get your Payload version real quick?

ember stirrup
#

3.20.0

frigid furnace
ember stirrup
#

hell yeah

#

is there a way to see in which release these PR's are merged?

frigid furnace
#

So, there are two ways, neither are without some inconvenience honestly but you could either search for a fix in GH issues/pr's and see if the bot commented that it's included in a version, or you could just go to the releases tab in GH

ember stirrup
#

great, thank you so much!

frigid furnace
#

My pleasure my friend