summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakshaythakur87642024-12-12 11:45:53 +0530
committerakshaythakur87642024-12-12 11:45:53 +0530
commit2dc8412c23c7d56e024d9834fb5c1622df449413 (patch)
tree59b93079a0ccb81e4788953dd8ac2bc2cd15381a
parent152b8102094bfe16c928ff21a97ae29368ed037a (diff)
downloadesim_lab_migration-2dc8412c23c7d56e024d9834fb5c1622df449413.tar.gz
esim_lab_migration-2dc8412c23c7d56e024d9834fb5c1622df449413.tar.bz2
esim_lab_migration-2dc8412c23c7d56e024d9834fb5c1622df449413.zip
table order by year
-rwxr-xr-xlab_details.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lab_details.inc b/lab_details.inc
index 8f30b59..f912dde 100755
--- a/lab_details.inc
+++ b/lab_details.inc
@@ -5,6 +5,7 @@
$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);
$proposal_rows = array();