← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14859: Event report, fixed issue with update and dimensions

 

------------------------------------------------------------
revno: 14859
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-04-14 23:14:18 +0200
message:
  Event report, fixed issue with update and dimensions
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/eventreport/EventReport.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/eventreport/EventReport.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/eventreport/EventReport.java	2014-04-13 20:08:51 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/eventreport/EventReport.java	2014-04-14 21:14:18 +0000
@@ -194,6 +194,15 @@
             showHierarchy = report.isShowHierarchy();
             displayDensity = report.getDisplayDensity();
             fontSize = report.getFontSize();
+
+            columnDimensions.clear();
+            columnDimensions.addAll( report.getColumnDimensions() );
+            
+            rowDimensions.clear();
+            rowDimensions.addAll( report.getRowDimensions() );
+            
+            filterDimensions.clear();
+            filterDimensions.addAll( report.getFilterDimensions() );
         }
     }