I'm in a situation involving workbench moderation, where a common workflow is for a content editor to translate a piece of content, but leave the translated node unpublished (or, in workflow moderation terms, in a "review" state) while reviewers review and approve the translation.
While using this module, during this "review period" (where the site default language node is published, but one translation is unpublished and being reviewed), the content in question will disappear from Views lists.
Proposal is to add a configuration to the plugin that would provide the site default language node if the node in the translation set for the current language existed, but was unpublished.
A bit of a mouthful, but hopefully this makes sense.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | select_translation-fallback_when_translation_is_unpublished-2321053-1.patch | 3.34 KB | iamEAP |
Comments
Comment #1
iamEAP commentedPatch for review.
Comment #3
alcroito commentedI've applied your patch, with some slight modifications.
As far as I could see, there was no need to add an additional extra join condition to filter on the current language, because we already have it in the where clause of the sub-query.
The code is in the dev branch.