Browse Source

Liste utilisateurs : bug id user

master
keun 8 years ago
parent
commit
259012f256
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/controllers/UserController.php

+ 1
- 1
backend/controllers/UserController.php View File

@@ -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')

Loading…
Cancel
Save