X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=DataObjects%2FCore_project.php;h=de9db550e3127602a4d2919ee887d9fd94fe437d;hb=f5aa5d161bc0428db89f56aa318dbf03ddff22bc;hp=b899ef3fc1e011162d27846ff9081c117666adbf;hpb=83f98205885cf289c21ba9fb63a28e0226b00cd6;p=Pman.Core 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'])) {