dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24504
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12021: minor fix v2
------------------------------------------------------------
revno: 12021
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-09-10 15:42:06 +0200
message:
minor fix v2
modified:
dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.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-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java'
--- dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java 2013-09-10 11:35:27 +0000
+++ dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java 2013-09-10 13:42:06 +0000
@@ -239,7 +239,7 @@
long lowerBound = cal.getTime().getTime();
List<Activity> items = new ArrayList<Activity>();
- Collection<Patient> patients = patientService.getPatients( unit, null, null );
+ Collection<Patient> patients = patientService.getPatients( unit, 0, Integer.MAX_VALUE );
for ( Patient patient : patients )
{
@@ -271,7 +271,7 @@
{
List<Activity> items = new ArrayList<Activity>();
- Collection<Patient> patients = patientService.getPatients( unit, null, null );
+ Collection<Patient> patients = patientService.getPatients( unit, 0, Integer.MAX_VALUE );
for ( Patient patient : patients )
{