dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #37160
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19008: Minor fix, add commentOptionSet to DataElement.mergeWith
------------------------------------------------------------
revno: 19008
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2015-04-24 15:11:26 +0700
message:
Minor fix, add commentOptionSet to DataElement.mergeWith
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElement.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/DataElement.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElement.java 2015-04-17 12:41:18 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElement.java 2015-04-24 08:11:26 +0000
@@ -756,6 +756,7 @@
categoryCombo = dataElement.getCategoryCombo();
url = dataElement.getUrl();
optionSet = dataElement.getOptionSet();
+ commentOptionSet = dataElement.getCommentOptionSet();
}
else if ( strategy.isMerge() )
{
@@ -768,6 +769,7 @@
categoryCombo = dataElement.getCategoryCombo() == null ? categoryCombo : dataElement.getCategoryCombo();
url = dataElement.getUrl() == null ? url : dataElement.getUrl();
optionSet = dataElement.getOptionSet() == null ? optionSet : dataElement.getOptionSet();
+ commentOptionSet = dataElement.getCommentOptionSet() == null ? commentOptionSet : dataElement.getCommentOptionSet();
}
groups.clear();