dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20153
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9080: Better names on png maps
------------------------------------------------------------
revno: 9080
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-11-19 20:06:56 +0100
message:
Better names on png maps
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/mapping/MapView.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/mapping/MapView.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/mapping/MapView.java 2012-11-10 15:09:47 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/mapping/MapView.java 2012-11-19 19:06:56 +0000
@@ -156,7 +156,7 @@
@Override
public String getName()
{
- return uid;
+ return indicator != null ? indicator.getName() : dataElement != null ? dataElement.getName() : uid;
}
@JsonProperty