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

[5.x] Add default value for defaultViewMode in Cp::elmentIndexHtml() #16130

Merged
merged 3 commits into from
Nov 18, 2024

Conversation

nfourtythree
Copy link
Contributor

Description

Commerce screen errors with undefined array key "defaultViewMode" in Craft 5.5. This PR adds a default value to the config to help with backwards compatibility.

Related issues

craftcms/commerce#3774

@nfourtythree nfourtythree self-assigned this Nov 15, 2024
@lukeholder lukeholder marked this pull request as draft November 18, 2024 04:04
@lukeholder lukeholder marked this pull request as ready for review November 18, 2024 04:04
@brandonkelly brandonkelly merged commit e3c11b7 into 5.x Nov 18, 2024
@brandonkelly brandonkelly deleted the bugfix/cp-helper-element-index-default-view-mode branch November 18, 2024 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants