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