mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:00:13 +01:00
search query fix
This commit is contained in:
parent
a7fec90f37
commit
0f962a9bcf
@ -142,6 +142,9 @@ class ModelSearchSearch extends Model {
|
||||
if($v == "any") {
|
||||
$data['match'][$i-1] = "";
|
||||
$data['match'][$i] = "";
|
||||
}
|
||||
|
||||
if($a == '') {
|
||||
$a = "attachments > 0 AND ";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user