From bf729e541c2964aa5177db416ded3e9c1fb7ab0c Mon Sep 17 00:00:00 2001 From: Agnibho Mondal Date: Mon, 7 Jun 2021 08:28:45 +0530 Subject: [PATCH] Bugfix --- lib/db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db.php b/lib/db.php index 1bff683..5aadf0c 100644 --- a/lib/db.php +++ b/lib/db.php @@ -383,7 +383,7 @@ class DB extends SQLite3 { function getArchivedPatientList(){ global $log; if(!checkAccess("info", "dbGet")) return false; - $stmt=$this->prepare("SELECT pid,ward,bed,name,diagnosis FROM patients WHERE status!='admitted' ORDER BY UPPER(ward),bed;"); + $stmt=$this->prepare("SELECT pid,ward,bed,name,diagnosis,status FROM patients WHERE status!='admitted' ORDER BY UPPER(ward),bed;"); $result=$stmt->execute(); return($result); } -- 2.39.5