diff options
author | Sashi20 | 2024-06-10 18:16:20 +0530 |
---|---|---|
committer | Sashi20 | 2024-06-10 18:16:20 +0530 |
commit | 28ac756c5c434b216fadf09a4741937f49124714 (patch) | |
tree | 2521415afcd0d8dc41d13135ac3af271a91f7985 | |
parent | 579749e851878c629b21dd3421fd2a5c88e09f9b (diff) | |
download | cfd_case_study-28ac756c5c434b216fadf09a4741937f49124714.tar.gz cfd_case_study-28ac756c5c434b216fadf09a4741937f49124714.tar.bz2 cfd_case_study-28ac756c5c434b216fadf09a4741937f49124714.zip |
Display case studies in progress in descending order
-rwxr-xr-x | cfd_case_study_details.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cfd_case_study_details.inc b/cfd_case_study_details.inc index 2430c10..1a0b5c5 100755 --- a/cfd_case_study_details.inc +++ b/cfd_case_study_details.inc @@ -67,6 +67,7 @@ function cfd_case_study_progress_all() $query->fields('case_study_proposal'); $query->condition('approval_status', 1); $query->condition('is_completed', 0); + $query->orderBy('approval_date',DESC); $result = $query->execute(); if ($result->rowCount() == 0) { |