dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #23158
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11261: Analytics, fixed bug related to org unit parameters
------------------------------------------------------------
revno: 11261
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-06-25 19:43:37 +0200
message:
Analytics, fixed bug related to org unit parameters
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseAnalyticalObject.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/common/BaseAnalyticalObject.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseAnalyticalObject.java 2013-05-29 13:05:35 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseAnalyticalObject.java 2013-06-25 17:43:37 +0000
@@ -367,7 +367,7 @@
objects.add( new BaseDimensionalObject( dimension, DimensionType.PERIOD, periodList ) );
}
- else if ( ORGUNIT_DIM_ID.equals( dimension ) && ( !organisationUnits.isEmpty() || hasUserOrgUnit() ) )
+ else if ( ORGUNIT_DIM_ID.equals( dimension ) && ( !organisationUnits.isEmpty() || !transientOrganisationUnits.isEmpty() || hasUserOrgUnit() ) )
{
List<NameableObject> ouList = new ArrayList<NameableObject>();
ouList.addAll( organisationUnits );