Inclure titre à la recherche
This commit is contained in:
parent
4f5e27d04e
commit
ff4fae57e9
1 changed files with 1 additions and 0 deletions
|
@ -466,6 +466,7 @@ class VroumVroum_Blog
|
|||
$res = $this->articles->query('SELECT id, uri, title, content
|
||||
FROM articles
|
||||
WHERE content LIKE \'%'.$this->articles->escapeString($query).'%\'
|
||||
OR title LIKE \'%'.$this->articles->escapeString($query).'%\'
|
||||
ORDER BY id DESC
|
||||
LIMIT 0,100;');
|
||||
|
||||
|
|
Loading…
Reference in a new issue