projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67795cd
)
DataObjects/Person.php
author
Edward
<edward@roojs.com>
Wed, 8 Jan 2014 03:23:02 +0000
(11:23 +0800)
committer
Edward
<edward@roojs.com>
Wed, 8 Jan 2014 03:23:02 +0000
(11:23 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
465687f
..
2df628a
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-792,6
+792,12
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
}
+ if(!empty($q['query']['name'])){
+ $this->whereAdd("
+ $tn.name LIKE '%{$this->escape($q['query']['name'])}%'
+ ");
+ }
+
if (!empty($q['query']['search'])) {
// use our magic search builder...