From: Agnibho Mondal Date: Mon, 7 Jun 2021 02:58:45 +0000 (+0530) Subject: Bugfix X-Git-Url: https://code.agnibho.com/repo?a=commitdiff_plain;h=bf729e541c2964aa5177db416ded3e9c1fb7ab0c;p=simpleipd.git Bugfix --- 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); }