-
Link to reproductionNo response Describe the BugWhen having a GraphQL Query that has a fallbackLocale specified and using a where clause to filter for specific checkbox value (in this case) the where selector does not work properly on the specified fallbackLocale.
Here I fallback to a locale where at least one document has the showInOverview value set to true. When querying directly for the locale en_DE this does indeed deliver the proper results. To Reproduce
After further investigation: (edited the reproduction steps as well) The only difference between the fields: Payload Version2.13.0 Adapters and Pluginsdb-mongodb, bundler-webpack, plugin-cloud-storage, richtext-lexical, translator-plugin |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @STR1234 — this is expected actually. We can't query for multiple locales at once because that would require some performance overhead. We only query in the locale that you have specified (or the default locale). You might want to find another pattern if you will be querying on this field often. Maybe specify the field separately once per locale? |
Beta Was this translation helpful? Give feedback.
Hey @STR1234 — this is expected actually. We can't query for multiple locales at once because that would require some performance overhead. We only query in the locale that you have specified (or the default locale).
You might want to find another pattern if you will be querying on this field often. Maybe specify the field separately once per locale?