diff options
author | Sashi20 | 2019-09-17 10:26:56 +0530 |
---|---|---|
committer | Sashi20 | 2019-09-17 10:26:56 +0530 |
commit | 770065fb9fd8221a7fe1fe2c5811669ddedeaad0 (patch) | |
tree | ac168cd211ebf51d61c39dc2813ede5d48f153b1 /lab_details.inc | |
parent | de3c0c798925d6cea6629088f32516e5c9b5d53c (diff) | |
download | cfd_lab_migration-770065fb9fd8221a7fe1fe2c5811669ddedeaad0.tar.gz cfd_lab_migration-770065fb9fd8221a7fe1fe2c5811669ddedeaad0.tar.bz2 cfd_lab_migration-770065fb9fd8221a7fe1fe2c5811669ddedeaad0.zip |
Modify the table to display completed labs in descending order
Diffstat (limited to 'lab_details.inc')
-rwxr-xr-x | lab_details.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lab_details.inc b/lab_details.inc index b847f98..aef0ee4 100755 --- a/lab_details.inc +++ b/lab_details.inc @@ -6,6 +6,7 @@ function lab_migration_completed_labs_all() $query = db_select('lab_migration_proposal'); $query->fields('lab_migration_proposal'); $query->condition('approval_status', 3); + $query->orderBy('approval_date',DESC); $result = $query->execute(); //$result = db_query($query); if ($result->rowCount() == 0) |