When exposing the Translation status Views filter, users are given three options: Any, True, and False. I would expect that if they choose False, we should display both entities that do not have a translation, and entities that only have an unpublished translation. However, the filter currently only displays entities matching the second condition.

I think this would improve consistency with the Translation status Views field plugin. With the field plugin, if an entity has no translation (no record in the entity_translation table, i.e. the join is NULL), the row still displays the False/No label. So if you table-sort a View by the Translation status field, you will see a True or False in every row, allowing you to pseudo-filter the list. But then if you add the Translation status filter to simplify this filtering process, and a user selects False, the View might come up empty, even though there were False records listed through table-sorting.

CommentFileSizeAuthor
#1 views_translation-2537834-1.patch455 bytesjfrederick
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jfrederick’s picture

Status: Active » Needs review
FileSize
455 bytes

Patch attached.