Commit fd263109 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

revert d'un mauvais commit sur la recherche

parent a77dbcd7
Loading
Loading
Loading
Loading
+1 −2
Changes for module/Application/src/Processus/Intervenant/RechercheProcessus.php: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ class RechercheProcessus

        $anneeId = (int)$this->getServiceContext()->getAnnee()->getId();

        //$critere  = Util::reduce($critere);
        $critere  = Util::reduce($critere);
        $criteres = explode('_', $critere);

        $sqlSource = '';
@@ -63,7 +63,6 @@ class RechercheProcessus
        foreach ($criteres as $c) {
            $cc = (int)$c;
            if (0 === $cc) {
                $c = str_replace("'", "''", $c);
                if ($sqlCri != '') $sqlCri .= ' AND ';
                $sqlCri .= 'instr(\' \' || critere ,\' ' . $c . '\') > 0';
            } else {