dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #17865
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7283: [mobile] minor fix
------------------------------------------------------------
revno: 7283
committer: Long <thanhlongngo1988@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2012-06-13 14:21:42 +0700
message:
[mobile] minor fix
modified:
dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/beneficiaryenrollment/action/SearchBeneficiaryAction.java
dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/singleevent/action/GetSingleEventBeneficiaryAction.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-light/src/main/java/org/hisp/dhis/light/beneficiaryenrollment/action/SearchBeneficiaryAction.java'
--- dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/beneficiaryenrollment/action/SearchBeneficiaryAction.java 2012-04-20 02:32:43 +0000
+++ dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/beneficiaryenrollment/action/SearchBeneficiaryAction.java 2012-06-13 07:21:42 +0000
@@ -91,7 +91,7 @@
{
keyword = tokens[0] + " " + tokens[1];
}
- patientList = new ArrayList<Patient>( patientService.getPatientsByNames( keyword ) );
+ patientList = new ArrayList<Patient>( patientService.getPatientsByNames( keyword, null, null ) );
return SUCCESS;
}
=== modified file 'dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/singleevent/action/GetSingleEventBeneficiaryAction.java'
--- dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/singleevent/action/GetSingleEventBeneficiaryAction.java 2012-05-24 14:51:18 +0000
+++ dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/singleevent/action/GetSingleEventBeneficiaryAction.java 2012-06-13 07:21:42 +0000
@@ -153,7 +153,7 @@
{
OrganisationUnit orgUnit = organisationUnitService.getOrganisationUnit( organisationUnitId );
Program program = programService.getProgram( programId );
- Collection<Patient> allPatient = patientService.getPatients( orgUnit );
+ Collection<Patient> allPatient = patientService.getPatients( orgUnit, null, null );
for ( Patient patient : allPatient )
{
if ( programInstanceService.getProgramInstances( patient, program ).size() == 0 )