Browse Source

add admin view

andre 4 years ago
parent
commit
3c6d4f6fb0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      action.php

+ 1 - 1
action.php

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