FIX: fix searching in name and overflowin of no-data message

This commit is contained in:
Michal Kváček
2016-09-27 22:04:09 +02:00
parent 36615aac21
commit 4c67d442d6
2 changed files with 2 additions and 4 deletions
+1
View File
@@ -27,6 +27,7 @@ class Files extends Search
$token = $this->tokenize($term);
return File::where('original_filename', 'LIKE', $token)
->orWhere('name', 'LIKE', $token)
->orWhere('keywords', 'LIKE', $token)
->orWhere('description', 'LIKE', $token)
->orWhere('mime_type', 'LIKE', $token)