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'])}%'
+ $tn.filename LIKE '%{$this->escape($q['search']['filename'])}%' OR $tn.title LIKE '%{$this->escape($q['search']['filename'])}%'
");
}