dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27257
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13536: Event analytics, removing program stage id and org unit id from excel download
------------------------------------------------------------
revno: 13536
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-01-02 13:02:24 +0100
message:
Event analytics, removing program stage id and org unit id from excel download
modified:
dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/event/data/DefaultEventAnalyticsService.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/event/data/DefaultEventAnalyticsService.java'
--- dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/event/data/DefaultEventAnalyticsService.java 2013-12-31 09:28:55 +0000
+++ dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/event/data/DefaultEventAnalyticsService.java 2014-01-02 12:02:24 +0000
@@ -195,14 +195,14 @@
// Headers
// ---------------------------------------------------------------------
- grid.addHeader( new GridHeader( ITEM_EVENT, "Event" ) );
+ grid.addHeader( new GridHeader( ITEM_EVENT, "Event", String.class.getName(), true, false ) );
grid.addHeader( new GridHeader( ITEM_PROGRAM_STAGE, "Program stage", String.class.getName(), false, true ) );
grid.addHeader( new GridHeader( ITEM_EXECUTION_DATE, "Event date" ) );
grid.addHeader( new GridHeader( ITEM_LONGITUDE, "Longitude" ) );
grid.addHeader( new GridHeader( ITEM_LATITUDE, "Latitude" ) );
grid.addHeader( new GridHeader( ITEM_ORG_UNIT_NAME, "Organisation unit name" ) );
grid.addHeader( new GridHeader( ITEM_ORG_UNIT_CODE, "Organisation unit code" ) );
- grid.addHeader( new GridHeader( ITEM_ORG_UNIT, "Organisation unit" ) );
+ grid.addHeader( new GridHeader( ITEM_ORG_UNIT, "Organisation unit", String.class.getName(), true, false ) );
for ( QueryItem queryItem : params.getItems() )
{