add tags search

This commit is contained in:
Simon Vieille 2021-03-30 21:27:49 +02:00
parent 835a28aa34
commit 04662fac05

View file

@ -123,7 +123,7 @@ class PostRepositoryQuery extends RepositoryQuery
if ($tag) {
$this
->andWhere('.tags LIKE :tag')
->setParameter(':tag', '%'.$tag.'%')
->setParameter(':tag', '%"'.$tag.'"%')
;
}