-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use a fallback for reference filters for unpublished content #725
Comments
Ask Simeon in the weekly meeting about this |
@wenche, can you take a look at this? :) |
TestNews
Except for the gotcha with the translated document that does not respect the filters, this look really good 👍 |
Description
Since the intl plugin for whatever reason adds the intl fields (_intl: en_GB) on publishing for the base language, we need a fallback to be able to filter references for unpublished content. Could we just use the base language as the fallback if there's no _lang value? (We will then need a more robust way to define the base language)
Examples of the errors I see
Runtime error (will add a guard here)
Mix of Norwegian and English references
The text was updated successfully, but these errors were encountered: