← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1919: in portal report showing all patient

 

------------------------------------------------------------
revno: 1919
committer: Namrata
branch nick: trunk
timestamp: Wed 2010-08-11 20:06:00 +0530
message:
  in portal report showing all patient
modified:
  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/portal/action/PortalReportsResultAction.java'
--- local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/portal/action/PortalReportsResultAction.java	2010-08-11 10:36:52 +0000
+++ local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/portal/action/PortalReportsResultAction.java	2010-08-11 14:36:00 +0000
@@ -560,7 +560,7 @@
                             // <editor-fold defaultstate="collapsed" desc="for loop for programInstances">
                             for ( ProgramInstance pi : programInstances )
                             {
-                                //System.out.println("_________________________________patient: "+patient.getFullName() + " id = "+patient.getId() + " ou = "+ou.getName());
+                                //System.out.println("_________________________________id = "+patient.getId() + " ou = "+ou.getName());
                                 Collection<ProgramStageInstance> programStageInstances = new ArrayList<ProgramStageInstance>();
                                 Collection<ProgramStageInstance> allProgramStageInstances = new ArrayList<ProgramStageInstance>();
                                 Iterator itr1 = programStagesList.iterator();
@@ -591,7 +591,7 @@
                                         }
                                     }
                                 }
-                                if ( pi != null && !programStageInstances.isEmpty() )
+                                if ( pi != null )
                                 {
                                     //putting pi and psi together
                                     PIPSIList.put( pi, programStageInstances );