From 770065fb9fd8221a7fe1fe2c5811669ddedeaad0 Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Tue, 17 Sep 2019 10:26:56 +0530 Subject: Modify the table to display completed labs in descending order --- lab_details.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'lab_details.inc') 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) -- cgit