diff options
author | Sashi20 | 2024-06-11 13:06:10 +0530 |
---|---|---|
committer | GitHub | 2024-06-11 13:06:10 +0530 |
commit | 60f82c0abd87e0844a2bd66228b3ef4d3c4c7361 (patch) | |
tree | 69d14f5ed9e1351c0ee2dab241cd6ec097cad0c9 | |
parent | 72a368b54199c8f09db83c7ba7ca06d1b1dbe67f (diff) | |
parent | ddc890d03d4faefcb6a2679f91482f54f73f3869 (diff) | |
download | dwsim_flowsheet-drupal_7.x.tar.gz dwsim_flowsheet-drupal_7.x.tar.bz2 dwsim_flowsheet-drupal_7.x.zip |
Merge pull request #54 from Sashi20/drupal_7.xHEADdrupal_7.x
Arrange approval date in descending order
-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 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) { |