From 311b905bc998c987e6f34ecadff1388f73470128 Mon Sep 17 00:00:00 2001 From: Agnibho Mondal Date: Tue, 1 Jun 2021 05:55:24 +0530 Subject: [PATCH] Minor --- lib/db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db.php b/lib/db.php index 428286d..7e49c8c 100644 --- a/lib/db.php +++ b/lib/db.php @@ -364,7 +364,7 @@ class DB extends SQLite3 { function getAdmittedPatientList(){ global $log; if(!checkAccess("info", "dbGet")) return false; - $stmt=$this->prepare("SELECT pid,ward,bed,name,diagnosis FROM patients WHERE status='admitted' ORDER BY ward,bed;"); + $stmt=$this->prepare("SELECT pid,ward,bed,name,diagnosis FROM patients WHERE status='admitted' ORDER BY UPPER(ward),bed;"); $result=$stmt->execute(); return($result); } -- 2.39.5