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

fix: default tree view (backport #26473) #26480

Merged

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 19, 2024

Create a DocType with custom tree JS and set the DocType's default view to "Tree".

When navigating to /app/tree-doctype (["List", "Tree DocType", "Tree"]), some tree view is loaded, but not the same as /app/tree-doctype/view/tree. The custom JS is not loaded:

Bildschirmfoto 2024-05-17 um 20 35 45

When we instead set the route as ["Tree", "Tree DocType"] the loaded view is correct (notice the custom buttons):

Bildschirmfoto 2024-05-17 um 20 35 18


This is an automatic backport of pull request #26473 done by [Mergify](https://mergify.com).

(cherry picked from commit 9a5d42e)
@barredterra barredterra merged commit 12f50ce into version-15-hotfix May 19, 2024
19 checks passed
@barredterra barredterra deleted the mergify/bp/version-15-hotfix/pr-26473 branch May 19, 2024 13:54
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 15.28.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants