Pārlūkot izejas kodu

Clients : possibilité d'ordonner par nom / prénom

refactoring
keun pirms 6 gadiem
vecāks
revīzija
0539cc4922
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. +3
    -2
      backend/controllers/UserController.php

+ 3
- 2
backend/controllers/UserController.php Parādīt failu

@@ -43,9 +43,10 @@ class UserController extends BackendController {
$query = User::findBy($params);
$dataProvider = new ActiveDataProvider([
'query' => $query
'query' => $query,
'sort' => ['attributes' => ['nom','prenom']],
]);
$etablissement = Etablissement::find()
->where(['id' => Yii::$app->user->identity->id_etablissement])
->one();

Notiek ielāde…
Atcelt
Saglabāt