← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3311: Minor fix into dhis-web-caseentry module.

 

------------------------------------------------------------
revno: 3311
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-04-07 16:17:54 +0700
message:
  Minor fix into dhis-web-caseentry module.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/caseentry/SearchPatientAction.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-caseentry/src/main/java/org/hisp/dhis/caseentry/action/caseentry/SearchPatientAction.java'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/caseentry/SearchPatientAction.java	2011-03-31 01:49:21 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/caseentry/SearchPatientAction.java	2011-04-07 09:17:54 +0000
@@ -196,7 +196,7 @@
 
             selectedStateManager.setSearchText( searchText );
 
-            patients = patientService.getPatients( searchText );
+            patients = patientService.getPatientsByNames( searchText );
 
             return SUCCESS;
         }
@@ -232,7 +232,7 @@
             return SUCCESS;
         }
 
-        patients = patientService.getPatients( searchText );
+        patients = patientService.getPatientsByNames( searchText );
 
         return SUCCESS;