← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18324: Event analytics, fixed minor weakness

 

------------------------------------------------------------
revno: 18324
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-02-18 17:33:18 +0100
message:
  Event analytics, fixed minor weakness
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	2015-02-17 21:46:41 +0000
+++ dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/event/data/DefaultEventAnalyticsService.java	2015-02-18 16:33:18 +0000
@@ -508,13 +508,13 @@
                     params.getItemFilters().add( getQueryItem( filter.getDimension(), filter.getFilter() ) );
                 }
             }
+
+            params.setProgram( object.getProgram() );
+            params.setProgramStage( object.getProgramStage() );
+            params.setStartDate( object.getStartDate() );
+            params.setEndDate( object.getEndDate() );
+            params.setOutputType( object.getOutputType() );
         }
-
-        params.setProgram( object.getProgram() );
-        params.setProgramStage( object.getProgramStage() );
-        params.setStartDate( object.getStartDate() );
-        params.setEndDate( object.getEndDate() );
-        params.setOutputType( object.getOutputType() );
         
         return params;
     }