diff options
author | Sashi20 | 2017-12-07 15:57:18 +0530 |
---|---|---|
committer | Sashi20 | 2017-12-07 15:57:18 +0530 |
commit | 73f51e85e1eddbbb298b58ce18d112c0513bfdfd (patch) | |
tree | 7e756679a8bfb50bcaa0f7ea3efda4728553d086 /flowsheet_details.inc | |
parent | 4fad355a3f1ae72875208c59ac377c06f03455ae (diff) | |
download | dwsim_flowsheet-73f51e85e1eddbbb298b58ce18d112c0513bfdfd.tar.gz dwsim_flowsheet-73f51e85e1eddbbb298b58ce18d112c0513bfdfd.tar.bz2 dwsim_flowsheet-73f51e85e1eddbbb298b58ce18d112c0513bfdfd.zip |
Arranged completed flowsheets by completion date
Diffstat (limited to 'flowsheet_details.inc')
-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) |