summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{