diff options
author | Sashi20 | 2017-12-07 16:09:17 +0530 |
---|---|---|
committer | GitHub | 2017-12-07 16:09:17 +0530 |
commit | 8b3bf013fcd60f7ebf9f632cf00ff1d74c2820dc (patch) | |
tree | 7e756679a8bfb50bcaa0f7ea3efda4728553d086 | |
parent | 0dd2320fdc12ddfde900e45ac937d7675e271ddc (diff) | |
parent | 73f51e85e1eddbbb298b58ce18d112c0513bfdfd (diff) | |
download | dwsim_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-x | flowsheet_details.inc | 1 |
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) |