Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.x]: When viewing entry revisions assets are always displayed in list view mode #12948

Closed
thupsi opened this issue Mar 22, 2023 · 3 comments
Closed
Assignees

Comments

@thupsi
Copy link

thupsi commented Mar 22, 2023

What happened?

Description

When viewing revisions of an entry, any asset fields display their related assets as a list, even when Large Thumbnails is selected in the field's settings' View mode.

Steps to reproduce

  1. Create an asset field with View mode set to Large thumbnails and assign it to an entry type.
  2. Add some images to an entry of this type
  3. Edit this entry so there are some revisions.
  4. Go to any of the past revisions.

Expected behavior

The assets should display as Large thumbnails

Actual behavior

The assets always display as a List

Craft CMS version

4.4.5

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@i-just
Copy link
Contributor

i-just commented Mar 22, 2023

Thanks for reporting. I submitted a PR to adjust this.

@brandonkelly
Copy link
Member

Fixed for the next Craft 3 and 4 releases via #12953.

@brandonkelly
Copy link
Member

Craft 3.8.6 and 4.4.6 are out with that fix 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants