Repository navigation
feat: allow short name as display property in orgunit tree (DHIS2-21511) - #3478
Merged
Merged
Conversation
Contributor
|
🚀 Deployed on https://pr-3478.data-visualizer.netlify.dhis2.org |
Read display property from /userSettings so the system setting is used as a fallback when the user has not set one, and upgrade @dhis2/analytics and @dhis2/ui so the org unit tree receives and applies the display property. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
janhenrikoverland
force-pushed
the
fix/org-unit-tree-short-name
branch
from
October 4, 2026 12:18
75ac178 to
60f4a68
Compare
|
dhis2-bot
added a commit
that referenced
this pull request
Oct 4, 2026
## [101.6.5](v101.6.4...v101.6.5) (2026-10-04) ### Bug Fixes * respect short name display property in org unit tree [DHIS2-21562] ([#3478](#3478)) ([9bcbbd9](9bcbbd9))
Contributor
|
🎉 This PR is included in version 101.6.5 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Implements DHIS2-21562
Description
The org unit tree always showed
displayName, even when the analysis display property was set to short name.Three changes were needed:
OrgUnitDimensionnow passesdisplayNameProptoOrganisationUnitTreeasdisplayPropertyOrganisationUnitTreesupports thedisplayPropertyprop/userSettingsinstead ofme.settings.me.settingsonly contains values the user has set explicitly, so a system-level short name setting was ignored for users without their own setting./userSettingsfalls back to the system setting.Note: since the system setting is now respected, users who relied on the fallback will see short names wherever DV uses the display property (dimension panel, dialogs, downloads), not only in the org unit tree.