summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202024-06-11 12:59:56 +0530
committerSashi202024-06-11 12:59:56 +0530
commitfed2ecbf66b5f3b30b329d04b26befc8a8c3968c (patch)
treef926967cab360aaea59bede129504a96f71ab1f9
parent4a51fa4d5af0a42c58bcf9b52310f0721556cdb9 (diff)
downloaddwsim_custom_model-fed2ecbf66b5f3b30b329d04b26befc8a8c3968c.tar.gz
dwsim_custom_model-fed2ecbf66b5f3b30b329d04b26befc8a8c3968c.tar.bz2
dwsim_custom_model-fed2ecbf66b5f3b30b329d04b26befc8a8c3968c.zip
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)
{