Merge branch 'dev' of https://github.com/xdrm-brackets/SID into dev
merge remote
This commit is contained in:
commit
6225908449
|
@ -538,10 +538,13 @@ class groupRepo{
|
||||||
FROM utilisateur
|
FROM utilisateur
|
||||||
WHERE nom LIKE :a
|
WHERE nom LIKE :a
|
||||||
OR prenom LIKE :b
|
OR prenom LIKE :b
|
||||||
|
OR prenom = :mot
|
||||||
|
OR nom = :mot
|
||||||
ORDER BY identifiant, prenom, nom ASC");
|
ORDER BY identifiant, prenom, nom ASC");
|
||||||
$statement->execute(array(
|
$statement->execute(array(
|
||||||
':a' => '%'.$keyword.'%',
|
':a' => '%'.$keyword.'%',
|
||||||
':b' => '%'.$keyword.'%'
|
':b' => '%'.$keyword.'%',
|
||||||
|
':mot' => $keyword
|
||||||
));
|
));
|
||||||
|
|
||||||
return DataBase::delNumeric( $statement->fetchAll() );
|
return DataBase::delNumeric( $statement->fetchAll() );
|
||||||
|
|
Loading…
Reference in New Issue