summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202017-12-07 16:09:17 +0530
committerGitHub2017-12-07 16:09:17 +0530
commit8b3bf013fcd60f7ebf9f632cf00ff1d74c2820dc (patch)
tree7e756679a8bfb50bcaa0f7ea3efda4728553d086
parent0dd2320fdc12ddfde900e45ac937d7675e271ddc (diff)
parent73f51e85e1eddbbb298b58ce18d112c0513bfdfd (diff)
downloaddwsim_flowsheet-8b3bf013fcd60f7ebf9f632cf00ff1d74c2820dc.tar.gz
dwsim_flowsheet-8b3bf013fcd60f7ebf9f632cf00ff1d74c2820dc.tar.bz2
dwsim_flowsheet-8b3bf013fcd60f7ebf9f632cf00ff1d74c2820dc.zip
Merge pull request #18 from Sashi20/drupal_7.x
Arranged completed flowsheets by completion date
-rwxr-xr-xflowsheet_details.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/flowsheet_details.inc b/flowsheet_details.inc
index 05f1701..d857ec2 100755
--- a/flowsheet_details.inc
+++ b/flowsheet_details.inc
@@ -6,6 +6,7 @@ function dwsim_flowsheet_completed_proposals_all()
$query = db_select('dwsim_flowsheet_proposal');
$query->fields('dwsim_flowsheet_proposal');
$query->condition('approval_status', 3);
+ $query->orderBy('actual_completion_date', 'DESC');
//$query->condition('is_completed', 1);
$result = $query->execute();
if ($result->rowCount() == 0)