projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ad3bd2
)
DataObjects/Person.php
author
Alan Knowles
<alan@roojs.com>
Mon, 8 Jul 2013 02:15:59 +0000
(10:15 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 8 Jul 2013 02:15:59 +0000
(10:15 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
eb90bc9
..
900a681
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-754,15
+754,15
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
));
- $s = $this->escape($q['query']['search']);
- $this->whereAdd("
+
+ $this->whereAdd($str); /*
$tn_p.name LIKE '%$s%' OR
$tn_p.email LIKE '%$s%' OR
$tn_p.role LIKE '%$s%' OR
$tn_p.phone LIKE '%$s%' OR
$tn_p.remarks LIKE '%$s%'
- ");
+ ");
*/
}
//