projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bbd360
)
DataObjects/Projects.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 25 Feb 2011 08:34:36 +0000
(16:34 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 25 Feb 2011 08:34:36 +0000
(16:34 +0800)
DataObjects/Projects.php
patch
|
blob
|
history
diff --git
a/DataObjects/Projects.php
b/DataObjects/Projects.php
index
e9fa870
..
a57e5e7
100644
(file)
--- a/
DataObjects/Projects.php
+++ b/
DataObjects/Projects.php
@@
-172,6
+172,17
@@
class Pman_Core_DataObjects_Projects extends DB_DataObject
$this->client_id = $au->company()->id; // can see nothing!!!
}
+
+ if (!empty($_REQUEST['query']['project_member_of'])) {
+ $this->whereAdd('id IN (
+ SELECT person_id from
+ ProjectDirectory
+ WHERE project_id = ' . ((int) $_REQUEST['query']['project_member_of']) .')');
+
+
+ }
+
+