andre 4 роки тому
батько
коміт
9f62556b6c
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      action.php

+ 1 - 1
action.php

@@ -7,7 +7,7 @@ class action {
 
     public function getUser() {
         $list = array();
-        $dbAction = $this->db->prepare("SELECT token, role, description FROM clients ORDER BY description ASC");
+        $dbAction = $this->db->prepare("SELECT token, role, description FROM clients ORDER BY role ASC");
         $dbAction->execute();
         $dbAction->store_result();
         $dbAction->bind_result($token,$role,$description);