← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9692: Reverted r 9687, dhis 1.4 calculated data element import

 

------------------------------------------------------------
revno: 9692
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2013-02-02 22:04:33 +0200
message:
  Reverted r 9687, dhis 1.4 calculated data element import
modified:
  dhis-2/dhis-services/dhis-service-importexport/src/main/resources/sqlmap/dataElement.sqlmap.xml


--
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-services/dhis-service-importexport/src/main/resources/sqlmap/dataElement.sqlmap.xml'
--- dhis-2/dhis-services/dhis-service-importexport/src/main/resources/sqlmap/dataElement.sqlmap.xml	2013-02-01 16:28:45 +0000
+++ dhis-2/dhis-services/dhis-service-importexport/src/main/resources/sqlmap/dataElement.sqlmap.xml	2013-02-02 20:04:33 +0000
@@ -28,11 +28,11 @@
 	<!-- Statement -->
 	
 	<select id="getDataElement" resultMap="dataElementResultMap">
-		SELECT * FROM DataElement WHERE DataElementID = #value# AND ( Calculated = 0 OR SaveCalculated = 1 )
+		SELECT * FROM DataElement WHERE DataElementID = #value# AND Calculated = 0
 	</select>
 	
 	<select id="getDataElements" resultMap="dataElementResultMap">
-		SELECT * FROM DataElement WHERE Calculated = 0 OR SaveCalculated = 1
+		SELECT * FROM DataElement  WHERE Calculated = 0
 	</select>
 	
 	<select id="getDataElementName" parameterClass="java.lang.Integer" resultClass="java.lang.String">