diff options
author | Sashi20 | 2024-06-11 13:06:51 +0530 |
---|---|---|
committer | GitHub | 2024-06-11 13:06:51 +0530 |
commit | 21f5643450491513d17fb1b0f690a99faf30255f (patch) | |
tree | f926967cab360aaea59bede129504a96f71ab1f9 | |
parent | 4a51fa4d5af0a42c58bcf9b52310f0721556cdb9 (diff) | |
parent | fed2ecbf66b5f3b30b329d04b26befc8a8c3968c (diff) | |
download | dwsim_custom_model-21f5643450491513d17fb1b0f690a99faf30255f.tar.gz dwsim_custom_model-21f5643450491513d17fb1b0f690a99faf30255f.tar.bz2 dwsim_custom_model-21f5643450491513d17fb1b0f690a99faf30255f.zip |
Arrange approval date in descending order
-rwxr-xr-x | custom_model_details.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/custom_model_details.inc b/custom_model_details.inc index 5c2b8aa..cde7b47 100755 --- a/custom_model_details.inc +++ b/custom_model_details.inc @@ -55,6 +55,7 @@ function custom_model_progress_all() $query->fields('custom_model_proposal'); $query->condition('approval_status', 1); $query->condition('is_completed', 0); + $query->orderBy('approval_date',DESC); $result = $query->execute(); if ($result->rowCount() == 0) { |