@@ -69,7 +69,7 @@ class UserController extends BackendController | |||
$params = Yii::$app->request->queryParams; | |||
$query = (new \yii\db\Query()) | |||
->select('user.id AS user_id, *') | |||
->select(['user.id AS user_id', 'user.prenom','user.nom','user.telephone','user.email','user.created_at','user.date_derniere_connexion']) | |||
->from('user, user_etablissement') | |||
->where('user.id = user_etablissement.id_user') | |||
->andWhere('user_etablissement.actif = 1') |