dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #10086
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2756: Fixed bug 'Selection of DataElement is not working in Edit compulsory data elements'
------------------------------------------------------------
revno: 2756
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-01-25 23:38:31 +0100
message:
Fixed bug 'Selection of DataElement is not working in Edit compulsory data elements'
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementOperand.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/dataelement/DataElementOperand.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementOperand.java 2011-01-12 07:26:20 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementOperand.java 2011-01-25 22:38:31 +0000
@@ -223,6 +223,16 @@
}
/**
+ * Returns a pretty name, requires the operand to be in persistent mode.
+ *
+ * @return the name.
+ */
+ public String getPrettyName()
+ {
+ return getPrettyName( dataElement, categoryOptionCombo );
+ }
+
+ /**
* Indicators whether this operand represents a total value or not.
*
* @return true or false.