Views content format doesn't respect selected view mode

Created on 2 July 2023, over 1 year ago

When creating a view with an unformatted list of content and selecting a given view mode, say Teaser, the view mode selected is ignored if the user is configured to view the full content with a different view mode. The view will always render the list of content with the same view mode as what the user views the full content with. Running D9.5.9, PHP 8.1.18.

🐛 Bug report
Status

Active

Version

9.5

Component
Views 

Last updated 7 minutes ago

Created by

🇭🇺Hungary Grabby

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

Comments & Activities

  • Issue created by @Grabby
  • Status changed to Postponed: needs info over 1 year ago
  • 🇳🇱Netherlands Lendude Amsterdam

    Not quite sure what "the same view mode as what the user views the full content with" means?

    Can you provide some steps to reproduce this on a clean install of Drupal?

  • Status changed to Closed: cannot reproduce 4 months ago
  • 🇦🇺Australia acbramley

    Thanks for reporting this issue. We rely on issue reports like this one to resolve bugs and improve Drupal core.

    As part of the Bug Smash Initiative, we are triaging issues that are marked "Postponed (maintainer needs more info)". This issue was marked "Postponed (maintainer needs more info)" more than 1 year ago.

    Since we need more information to move forward with this issue, I am closing it.

    Please feel free to reopen with more information.

  • 🇮🇱Israel taitai

    This issue is very alive, I am on Drupal 10.3.6
    It does not matter what display mode you set, you always get the default display mode.
    Very simple to recreate:
    Create a view page of one content type
    Format: Unformatted list
    Show: Content
    Choose any view mode
    Look at the results
    Change the settings view mode
    The results do not change
    Access was set to unrestricted

Production build 0.71.5 2024