]> Softwares of Agnibho - simpleipd.git/commitdiff
Minor
authorAgnibho Mondal <mondal@agnibho.com>
Sat, 22 May 2021 10:45:26 +0000 (16:15 +0530)
committerAgnibho Mondal <mondal@agnibho.com>
Sat, 22 May 2021 10:45:26 +0000 (16:15 +0530)
lib/db.php

index 33d8cab8eff332582ea3773106bfd17b2debd401..8a02ae5e875e3379999fc71c376908d7d17b7658 100644 (file)
@@ -361,7 +361,7 @@ class DB extends SQLite3 {
   function getRequisitionList(){
     global $log;
     if(!checkAccess("requisition", "dbGet")) return false;
   function getRequisitionList(){
     global $log;
     if(!checkAccess("requisition", "dbGet")) return false;
-    $stmt=$this->prepare("SELECT rowid,pid,test,sample,room,time,form FROM requisition WHERE status=:active ORDER BY room;");
+    $stmt=$this->prepare("SELECT rowid,pid,test,sample,room,time,form FROM requisition WHERE status=:active ORDER BY room,test;");
     $stmt->bindValue(":active", "active");
     $result=$stmt->execute();
     return($result);
     $stmt->bindValue(":active", "active");
     $result=$stmt->execute();
     return($result);