projects
/
simpleipd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e42aa6
)
Minor
author
Agnibho Mondal
<mondal@agnibho.com>
Tue, 15 Jun 2021 02:06:57 +0000
(07:36 +0530)
committer
Agnibho Mondal
<mondal@agnibho.com>
Tue, 15 Jun 2021 02:06:57 +0000
(07:36 +0530)
lib/db.php
patch
|
blob
|
history
diff --git
a/lib/db.php
b/lib/db.php
index 79d9e14c340d64ee50baf7532d9538768d4ee04d..bcb192af9e04c61cf587008cd73b8238a25fc501 100644
(file)
--- a/
lib/db.php
+++ b/
lib/db.php
@@
-404,7
+404,7
@@
class DB extends SQLite3 {
function getArchivedPatientList(){
global $log;
if(!checkAccess("info", "dbGet")) return false;
- $stmt=$this->prepare("SELECT pid,ward,bed,name,diagnosis,status FROM patients WHERE status!='admitted' ORDER BY
departure,
admission;");
+ $stmt=$this->prepare("SELECT pid,ward,bed,name,diagnosis,status FROM patients WHERE status!='admitted' ORDER BY admission;");
$result=$stmt->execute();
return($result);
}