Commit c7d066d6 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Fix : La recherche stricte via le numéro financier n'est plus sensible à la case

parent fadda132
Loading
Loading
Loading
Loading
Loading
+1 −2
Changes for module/Oscar/src/Oscar/Controller/ProjectGrantController.php: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -2847,8 +2847,7 @@ class ProjectGrantController extends AbstractOscarController implements UseNotif
                    if ($this->getOscarConfigurationService()->isPfiStrict()
                        && preg_match($this->getOscarConfigurationService()->getValidationPFI(), $search)) {
                        $parameters['search'] = $search;
                        $qb->andWhere('c.codeEOTP = :search');
                        $qb->andWhere('c.codeEOTP = :search');
                        $qb->andWhere('LOWER(c.codeEOTP) = LOWER(:search)');
                    }
                    elseif (preg_match('/(.*)=(.*)/', $search, $result)) {
                        $key = $result[1];