Correction de la fct de recherche dans le repo group
This commit is contained in:
parent
3c22cecc94
commit
f5a7298921
|
@ -538,10 +538,13 @@ class groupRepo{
|
|||
FROM utilisateur
|
||||
WHERE nom LIKE :a
|
||||
OR prenom LIKE :b
|
||||
OR prenom = :mot
|
||||
OR nom = :mot
|
||||
ORDER BY identifiant, prenom, nom ASC");
|
||||
$statement->execute(array(
|
||||
':a' => '%'.$keyword.'%',
|
||||
':b' => '%'.$keyword.'%'
|
||||
':a' => '%'.$keyword.'%',
|
||||
':b' => '%'.$keyword.'%',
|
||||
':mot' => $keyword
|
||||
));
|
||||
|
||||
return DataBase::delNumeric( $statement->fetchAll() );
|
||||
|
|
Loading…
Reference in New Issue