summaryrefslogtreecommitdiff
path: root/flowsheet_details.inc
diff options
context:
space:
mode:
authorSashi202024-06-11 13:06:10 +0530
committerGitHub2024-06-11 13:06:10 +0530
commit60f82c0abd87e0844a2bd66228b3ef4d3c4c7361 (patch)
tree69d14f5ed9e1351c0ee2dab241cd6ec097cad0c9 /flowsheet_details.inc
parent72a368b54199c8f09db83c7ba7ca06d1b1dbe67f (diff)
parentddc890d03d4faefcb6a2679f91482f54f73f3869 (diff)
downloaddwsim_flowsheet-60f82c0abd87e0844a2bd66228b3ef4d3c4c7361.tar.gz
dwsim_flowsheet-60f82c0abd87e0844a2bd66228b3ef4d3c4c7361.tar.bz2
dwsim_flowsheet-60f82c0abd87e0844a2bd66228b3ef4d3c4c7361.zip
Merge pull request #54 from Sashi20/drupal_7.xHEADdrupal_7.x
Arrange approval date in descending order
Diffstat (limited to 'flowsheet_details.inc')
-rwxr-xr-xflowsheet_details.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/flowsheet_details.inc b/flowsheet_details.inc
index 5b4229c..4bb741e 100755
--- a/flowsheet_details.inc
+++ b/flowsheet_details.inc
@@ -54,6 +54,7 @@ function dwsim_flowsheet_progress_all()
$query->fields('dwsim_flowsheet_proposal');
$query->condition('approval_status', 1);
$query->condition('is_completed', 0);
+ $query->orderBy('approval_date', DESC);
$result = $query->execute();
if ($result->rowCount() == 0)
{