summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakshay2024-12-12 12:37:49 +0530
committerGitHub2024-12-12 12:37:49 +0530
commiteb0907cf29eb2cb373a829af33cdb25d2a653d54 (patch)
tree59b93079a0ccb81e4788953dd8ac2bc2cd15381a
parent152b8102094bfe16c928ff21a97ae29368ed037a (diff)
parent2dc8412c23c7d56e024d9834fb5c1622df449413 (diff)
downloadesim_lab_migration-eb0907cf29eb2cb373a829af33cdb25d2a653d54.tar.gz
esim_lab_migration-eb0907cf29eb2cb373a829af33cdb25d2a653d54.tar.bz2
esim_lab_migration-eb0907cf29eb2cb373a829af33cdb25d2a653d54.zip
Merge pull request #4 from akshay9085/master
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();