← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2401: Minor Bug Fixed in Report Module

 

------------------------------------------------------------
revno: 2401
committer: Mithilesh Kumar Thakur<mithilesh.hisp@xxxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-10-21 12:53:13 +0530
message:
  Minor Bug Fixed in Report Module
modified:
  local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/activeplan/action/ActivePlanReportsResultAction.java
  local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/benificiaryinfo/action/BenificiaryInfoReportsResultAction.java
  local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/portal/action/PortalReportsResultAction.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 'local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/activeplan/action/ActivePlanReportsResultAction.java'
--- local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/activeplan/action/ActivePlanReportsResultAction.java	2010-08-28 10:15:38 +0000
+++ local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/activeplan/action/ActivePlanReportsResultAction.java	2010-10-21 07:23:13 +0000
@@ -504,7 +504,7 @@
         // selectedOrgUnit );
 
         Collection<Patient> patientListByOrgUnit = new ArrayList<Patient>();
-        patientListByOrgUnit.addAll( patientService.getPatientsByOrgUnit( selectedOrgUnit ) );
+        patientListByOrgUnit.addAll( patientService.getPatients( selectedOrgUnit ) );
 
         // Getting Programs
         rowCount = 0;

=== modified file 'local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/benificiaryinfo/action/BenificiaryInfoReportsResultAction.java'
--- local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/benificiaryinfo/action/BenificiaryInfoReportsResultAction.java	2010-08-28 10:15:38 +0000
+++ local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/benificiaryinfo/action/BenificiaryInfoReportsResultAction.java	2010-10-21 07:23:13 +0000
@@ -439,7 +439,7 @@
                 List<Patient> patientListByOu = new ArrayList<Patient>();
                 // <editor-fold defaultstate="collapsed"
                 // desc="getting patientlist for ou and taking pi">
-                patientListByOu.addAll( patientService.getPatientsByOrgUnit( ou ) );// getting
+                patientListByOu.addAll( patientService.getPatients( ou ) );// getting
                                                                                     // all
                                                                                     // the
                                                                                     // patients

=== modified file 'local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/portal/action/PortalReportsResultAction.java'
--- local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/portal/action/PortalReportsResultAction.java	2010-08-11 14:36:00 +0000
+++ local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/portal/action/PortalReportsResultAction.java	2010-10-21 07:23:13 +0000
@@ -545,7 +545,7 @@
                     for ( OrganisationUnit ou : orgUnitList )
                     {
                         Collection<Patient> patientListByOrgUnit = new ArrayList<Patient>();
-                        patientListByOrgUnit.addAll( patientService.getPatientsByOrgUnit( ou ) );
+                        patientListByOrgUnit.addAll( patientService.getPatients( ou ) );
                         Iterator<Patient> patientIterator = patientListByOrgUnit.iterator();
 
                         // <editor-fold defaultstate="collapsed" desc="while patientIterator">