dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #25020
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12329: minor fix
------------------------------------------------------------
revno: 12329
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2013-09-30 14:39:25 +0200
message:
minor fix
modified:
dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/DefaultPatientService.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-patient/src/main/java/org/hisp/dhis/patient/DefaultPatientService.java'
--- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/DefaultPatientService.java 2013-09-27 13:56:18 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/DefaultPatientService.java 2013-09-30 12:39:25 +0000
@@ -261,8 +261,8 @@
{
Set<Patient> patients = new HashSet<Patient>();
patients.addAll( patientIdentifierService.getPatientsByIdentifier( searchText, 0, Integer.MAX_VALUE ) );
- patients.addAll( getPatientsByNames( searchText, null, null ) );
- patients.addAll( getPatientsByPhone( searchText, null, null ) );
+ patients.addAll( getPatientsByNames( searchText, 0, Integer.MAX_VALUE ) );
+ patients.addAll( getPatientsByPhone( searchText, 0, Integer.MAX_VALUE ) );
// if an org-unit has been selected, filter out every patient that has a
// different org-unit