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] Fix Entries fieldtype tree view on Assets publish form #9404

Merged

Conversation

duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented Jan 26, 2024

This pull request fixes an issue with the Tree view in the Entries fieldtype when used in on an asset publish form.

This was happening due to there being no site in the publish form's values, which caused the tree request to return no entries.

This PR fixes it by falling back to the currently selected site when a site can't be found in the publish form's values.

Fixes #9403.

@jasonvarga jasonvarga merged commit 3f74f26 into 4.x Jan 26, 2024
35 checks passed
@jasonvarga jasonvarga deleted the fix/entries-fieldtype-tree-view-on-assets-publish-form branch January 26, 2024 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants