Search nolab by lab number OR patient name in search_v2
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -418,7 +418,8 @@ class Patient extends MY_Controller
|
||||
$extra_params[] = '%' . $name . '%';
|
||||
}
|
||||
if ($nolab != '') {
|
||||
$extra_where .= ' AND toh.T_OrderHeaderLabNumber LIKE ?';
|
||||
$extra_where .= ' AND (toh.T_OrderHeaderLabNumber LIKE ? OR tse.T_SendEmailPatientName LIKE ?)';
|
||||
$extra_params[] = '%' . $nolab . '%';
|
||||
$extra_params[] = '%' . $nolab . '%';
|
||||
}
|
||||
if ($company > 0) {
|
||||
|
||||
Reference in New Issue
Block a user