projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc51cbf
)
DataObjects/Images.php
author
benny
<benny@roojs.com>
Fri, 20 Jul 2018 09:53:02 +0000
(17:53 +0800)
committer
benny
<benny@roojs.com>
Fri, 20 Jul 2018 09:53:02 +0000
(17:53 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
e68a304
..
2cf3492
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-32,12
+32,11
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
function applyFilters($q, $au, $roo)
{
$tn = $this->tableName();
-
+ echo "$tn.filename LIKE '%{$this->escape($q['search']['filename'])}%'"; die;
if(!empty($q['search']['filename'])){
$this->whereAdd("
$tn.filename LIKE '%{$this->escape($q['search']['filename'])}%'
");
- echo "$tn.filename LIKE '%{$this->escape($q['search']['filename'])}%'"; die;
}