From 204b133477d96b4392628ed331d968e7f60dfc3d Mon Sep 17 00:00:00 2001 From: mikael-zakaria Date: Tue, 5 Aug 2025 11:38:11 +0700 Subject: [PATCH] Update Like Untuk Show --- app/Controllers/Patient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/Patient.php b/app/Controllers/Patient.php index 44cdf7c..14b79ae 100644 --- a/app/Controllers/Patient.php +++ b/app/Controllers/Patient.php @@ -28,7 +28,7 @@ class Patient extends Controller { $builder->like($rawSql, $Name, 'both'); } if ($InternalPID !== null) { $builder->where('InternalPID', $InternalPID); } - if ($PatientID !== null) { $builder->where('PatientID', $PatientID); } + if ($PatientID !== null) { $builder->like('PatientID', $PatientID, 'both'); } if ($BirthDate !== null) { $builder->where('BirthDate', $BirthDate); } $filteredPatients = $builder->get()->getResultArray();