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.

Comments

iamEAP’s picture

Status: Active » Needs review
StatusFileSize
new3.34 KB

Patch for review.

  • Placinta committed 975db83 on 7.x-1.x authored by iamEAP
    Issue #2321053 by iamEAP: Added Fall back to site default language when...
alcroito’s picture

Status: Needs review » Fixed

I'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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.