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: Org Chart fixes #27290

Merged
merged 3 commits into from
Sep 1, 2021
Merged

Conversation

ruchamahabal
Copy link
Member

@ruchamahabal ruchamahabal commented Sep 1, 2021

Before:

If there are multiple root nodes with descendants, only the first root and all it's descendants were getting expanded on clicking Expand All:

image

After:

image

Before:

The HR breadcrumb was added from the hierarchy chart class which is meant to be a generic class.

After:

Shifted frappe.breadcrumbs.add('HR') to org chart page file instead.

@ruchamahabal ruchamahabal changed the title fix(org chart): multiple root nodes not expanding on clicking Expand All fix: Org Chart fixes Sep 1, 2021
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 51.575% when pulling f2b7032 on ruchamahabal:org-chart-fix into dea5c34 on frappe:develop.

@ruchamahabal ruchamahabal removed the WIP label Sep 1, 2021
@ruchamahabal ruchamahabal merged commit f828d85 into frappe:develop Sep 1, 2021
frappe-pr-bot pushed a commit to frappe-pr-bot/erpnext that referenced this pull request Sep 1, 2021
* fix(org chart): multiple root nodes not expanding on clicking Expand All

* fix: unstable filter inserts duplicate nodes

(cherry picked from commit f828d85)
ruchamahabal added a commit that referenced this pull request Sep 1, 2021
* fix(org chart): multiple root nodes not expanding on clicking Expand All

* fix: unstable filter inserts duplicate nodes

(cherry picked from commit f828d85)

Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com>
asoral pushed a commit to asoral/erpnext that referenced this pull request Nov 12, 2021
* fix(org chart): multiple root nodes not expanding on clicking Expand All

* fix: unstable filter inserts duplicate nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants