projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af14849
)
DataObjects/Core_project.php
author
Alan Knowles
<alan@roojs.com>
Fri, 22 Jun 2018 06:32:13 +0000
(14:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 22 Jun 2018 06:32:13 +0000
(14:32 +0800)
DataObjects/Core_project.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_project.php
b/DataObjects/Core_project.php
index
b899ef3
..
de9db55
100644
(file)
--- 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'])) {