add tags search
This commit is contained in:
parent
835a28aa34
commit
04662fac05
|
@ -123,7 +123,7 @@ class PostRepositoryQuery extends RepositoryQuery
|
||||||
if ($tag) {
|
if ($tag) {
|
||||||
$this
|
$this
|
||||||
->andWhere('.tags LIKE :tag')
|
->andWhere('.tags LIKE :tag')
|
||||||
->setParameter(':tag', '%'.$tag.'%')
|
->setParameter(':tag', '%"'.$tag.'"%')
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue