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] Don't set termTemplate and template if they are the defaults #9421

Merged
merged 2 commits into from
Jan 30, 2024

Conversation

ryanmitchell
Copy link
Contributor

#8372 introducted termTemplate and template on Taxonomies, but it unfortunately also always saves the default values through the CP, which means the magic collection views never get called.

This PR reverts that behaviour, and doesnt save these values unless they are explicitly set.

Closes #9418

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These seem unnecessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah sorry, my first attempt that I forgot to back out. Done now.

@jasonvarga jasonvarga merged commit 6bd4976 into statamic:4.x Jan 30, 2024
18 checks passed
@ryanmitchell ryanmitchell deleted the fix/issue-9418 branch January 30, 2024 22:09
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.

Template for Collection Taxonomy Details is not being used
2 participants