Inclure titre à la recherche

This commit is contained in:
Mitsukarenai 2013-06-02 21:52:24 +02:00
parent 4f5e27d04e
commit ff4fae57e9

View file

@ -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;');