@@ 262-265 (lines=4) @@ | ||
259 | $this->queryBuilder->setParameter('var_'.$uniqueId, $textValue); |
|
260 | ||
261 | break; |
|
262 | case 'contains': |
|
263 | $expr = $this->queryBuilder->expr()->like('t_'.$locale.'.`text`', ':var_'.$uniqueId); |
|
264 | $this->queryBuilder->setParameter('var_'.$uniqueId, '%'.$textValue.'%'); |
|
265 | ||
266 | break; |
|
267 | case 'doesnotcontain': |
|
268 | $expr = 't_'.$locale.'.`text`'.' NOT LIKE :var_'.$uniqueId; |
|
@@ 267-270 (lines=4) @@ | ||
264 | $this->queryBuilder->setParameter('var_'.$uniqueId, '%'.$textValue.'%'); |
|
265 | ||
266 | break; |
|
267 | case 'doesnotcontain': |
|
268 | $expr = 't_'.$locale.'.`text`'.' NOT LIKE :var_'.$uniqueId; |
|
269 | $this->queryBuilder->setParameter('var_'.$uniqueId, '%'.$textValue.'%'); |
|
270 | ||
271 | break; |
|
272 | case 'startswith': |
|
273 | $expr = $this->queryBuilder->expr()->like('t_'.$locale.'.`text`', ':var_'.$uniqueId); |