Views of type 'Content Revisions' cannot be filtered out by content type

Created on 25 January 2017, almost 8 years ago
Updated 21 August 2023, over 1 year ago

Problem/Motivation

When creating a view of type 'Content Revisions', you should be able to directly add 'content type' as a filter criteria. There's no point in necessarily returning all content type revisions.

Proposed resolution

Ensure views of type 'Content Revisions' are able to be filtered out by the content type they're associated to, by default.

Work-around: add a relationship Content. (There are two relationships with the same label. One joins on vid, the other on nid.) Then filter on the type of that content.

Remaining tasks

Explore options. Do it.

User interface changes

Users are now able to filter out views of type 'Content Revisions' by content type directly.

API changes

TBD

Data model changes

TBD

πŸ› Bug report
Status

Active

Version

10.1 ✨

Component
ViewsΒ  β†’

Last updated 10 minutes ago

Created by

πŸ‡«πŸ‡·France anavarre πŸ‡ͺπŸ‡Ί

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • I don't know why, but it also happens to me. Would be nice to find out a solution.

    Thank you

  • Status changed to Active over 1 year ago
  • πŸ‡¨πŸ‡¦Canada pavlosdan

    Re-opening as the issue is not solved even with the workaround in place.

    Steps to reproduce:
    - Install a site using the Standard profile
    - Enable Content Moderation and Content Translation modules (content moderation will give us the moderated content admin dashboard which has this issue "/admin/content/moderated")
    - Assign the "Editorial" workflow that gets created when enabling the content moderation module to the Article content type.
    - Add a second language to the site, e.g French.
    - Enable translation on the Article content type.
    - Add an Article node and mark it as published.
    - Add a translation for the article node that was just added but mark it as draft.
    - Visit "/admin/content/moderated" and observe that the Content Type column for our translated node will have no information in it.

Production build 0.71.5 2024