projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5d91657
)
RooGetTrait.php
author
edward
<edward@roojs.com>
Wed, 30 Mar 2016 10:53:59 +0000
(18:53 +0800)
committer
edward
<edward@roojs.com>
Wed, 30 Mar 2016 10:53:59 +0000
(18:53 +0800)
RooGetTrait.php
patch
|
blob
|
history
diff --git
a/RooGetTrait.php
b/RooGetTrait.php
index
007958b
..
3868e7b
100644
(file)
--- a/
RooGetTrait.php
+++ b/
RooGetTrait.php
@@
-482,22
+482,11
@@
trait Pman_Core_RooGetTrait {
$x->setFrom($q_filtered);
}
$x->setFrom($q_filtered);
}
-
-
-
- // nice generic -- let's get rid of it.. where is it used!!!!
- // used by:
- // Person / Group / Comapnies.... most of my queries noww...
if (!empty($q['query']['name'])) {
if (!empty($q['query']['name'])) {
-
-
if (in_array( 'name', array_keys($x->table()))) {
$x->whereAdd($x->tableName().".name LIKE '". $x->escape($q['query']['name']) . "%'");
}
}
if (in_array( 'name', array_keys($x->table()))) {
$x->whereAdd($x->tableName().".name LIKE '". $x->escape($q['query']['name']) . "%'");
}
}
- // - projectdirectory staff list - persn queuy
-
-
}
}
}
}