summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202024-06-11 13:06:51 +0530
committerGitHub2024-06-11 13:06:51 +0530
commit21f5643450491513d17fb1b0f690a99faf30255f (patch)
treef926967cab360aaea59bede129504a96f71ab1f9
parent4a51fa4d5af0a42c58bcf9b52310f0721556cdb9 (diff)
parentfed2ecbf66b5f3b30b329d04b26befc8a8c3968c (diff)
downloaddwsim_custom_model-master.tar.gz
dwsim_custom_model-master.tar.bz2
dwsim_custom_model-master.zip
Merge pull request #11 from Sashi20/masterHEADmaster
Arrange approval date in descending order
-rwxr-xr-xcustom_model_details.inc1
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)
{