dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #15513
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5642: Don't aggragate values with multi-dimensional data-elements in Beneficiary Query Builder.
------------------------------------------------------------
revno: 5642
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-12-30 11:59:48 +0700
message:
Don't aggragate values with multi-dimensional data-elements in Beneficiary Query Builder.
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/caseaggregation/GetPSDataElementsAction.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-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/caseaggregation/GetPSDataElementsAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/caseaggregation/GetPSDataElementsAction.java 2011-12-26 10:07:59 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/caseaggregation/GetPSDataElementsAction.java 2011-12-30 04:59:48 +0000
@@ -119,17 +119,6 @@
{
DataElement de = deIterator.next();
- if ( de.getType().equals( DataElement.VALUE_TYPE_STRING ) && de.isMultiDimensional() )
- {
- optionComboIds.add( "[DE:" + psId + "." + de.getId() + ".0]" );
-
- optionComboNames.add( de.getName() );
-
- optionComboType.add( "1:" + de.getType() );
-
- continue;
- }
-
DataElementCategoryCombo dataElementCategoryCombo = de.getCategoryCombo();
List<DataElementCategoryOptionCombo> optionCombos = new ArrayList<DataElementCategoryOptionCombo>(