dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20735
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9621: Minor
------------------------------------------------------------
revno: 9621
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2013-01-27 16:43:24 +0200
message:
Minor
modified:
dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultAnalyticsService.java
dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/JdbcAnalyticsManager.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-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultAnalyticsService.java'
--- dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultAnalyticsService.java 2013-01-27 14:20:01 +0000
+++ dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultAnalyticsService.java 2013-01-27 14:43:24 +0000
@@ -243,7 +243,7 @@
grid.addValues( entry.getKey().split( DIMENSION_SEP ) );
grid.addValue( entry.getValue() );
}
- }
+ }
return grid;
}
=== modified file 'dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/JdbcAnalyticsManager.java'
--- dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/JdbcAnalyticsManager.java 2013-01-27 14:20:01 +0000
+++ dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/JdbcAnalyticsManager.java 2013-01-27 14:43:24 +0000
@@ -106,7 +106,7 @@
}
else if ( params.isAggregationType( AVERAGE_BOOL ) )
{
- sql += "sum(daysxvalue) / sum(daysno)";
+ sql += "sum(daysxvalue) / sum(daysno) * 100";
}
else if ( params.isAggregationType( COUNT ) )
{