summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202024-06-11 12:53:32 +0530
committerSashi202024-06-11 12:53:32 +0530
commitddc890d03d4faefcb6a2679f91482f54f73f3869 (patch)
tree69d14f5ed9e1351c0ee2dab241cd6ec097cad0c9
parent72a368b54199c8f09db83c7ba7ca06d1b1dbe67f (diff)
downloaddwsim_flowsheet-ddc890d03d4faefcb6a2679f91482f54f73f3869.tar.gz
dwsim_flowsheet-ddc890d03d4faefcb6a2679f91482f54f73f3869.tar.bz2
dwsim_flowsheet-ddc890d03d4faefcb6a2679f91482f54f73f3869.zip
Arrange approval date in descending order
-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)
{