Skip to content
Snippets Groups Projects
Commit 8bf75cee authored by Thibaut Vallee's avatar Thibaut Vallee
Browse files

Fix sur le filtre de recherche

parent d62cfddc
No related branches found
No related tags found
No related merge requests found
Pipeline #26004 passed
......@@ -191,7 +191,7 @@ class ValidationInstanceService {
{
$qb = $this->createQueryBuilder();
if (isset($params['reponse']) AND $params['reponse'] !== '') {
$qb = $qb->andWhere('vinstance.valeur = :reponse')->setParameter('reponse', $params['reponse']);
$qb = $qb->andWhere('vinstance.refus = :reponse')->setParameter('reponse', $params['reponse']);
}
if (isset($params['type']) AND $params['type'] !== '') {
$qb = $qb->andWhere('vtype.code = :code')->setParameter('code', $params['type']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment