From 34ce3d8a9084803c1125e397636ec87d6292d996 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 22 Jun 2018 14:32:13 +0800 Subject: [PATCH] DataObjects/Core_project.php --- DataObjects/Core_project.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/DataObjects/Core_project.php b/DataObjects/Core_project.php index b899ef3f..de9db550 100644 --- a/DataObjects/Core_project.php +++ b/DataObjects/Core_project.php @@ -93,7 +93,12 @@ class Pman_Core_DataObjects_Core_project extends DB_DataObject $tn = $this->tableName(); if (!empty($q['query']['project_search'])) { $s = $this->escape($q['query']['project_search']); - $this->whereAdd(" ({$tn}.code LIKE '$s%') OR ({$tn}.name LIKE '%$s%')"); + $this->whereAdd(" ({$tn}.code LIKE '$s%') + OR + ({$tn}.name LIKE '%$s%') + OR + join_client_id_id.name LIKE '%$s%' + "); } // types of project to list ... - default is only the open ones... if (!empty($q['query']['project_indaterange'])) { -- 2.39.2