Commit 8bf75cee authored by Thibaut Vallee's avatar Thibaut Vallee
Browse files

Fix sur le filtre de recherche

parent d62cfddc
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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']);