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