summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202024-06-10 18:17:03 +0530
committerGitHub2024-06-10 18:17:03 +0530
commitdd95837f4f38794c4387d3d298246553c6b436b2 (patch)
tree2521415afcd0d8dc41d13135ac3af271a91f7985
parent579749e851878c629b21dd3421fd2a5c88e09f9b (diff)
parent28ac756c5c434b216fadf09a4741937f49124714 (diff)
downloadcfd_case_study-master.tar.gz
cfd_case_study-master.tar.bz2
cfd_case_study-master.zip
Merge pull request #24 from Sashi20/drupal_7.xHEADmaster
Display case studies in progress in descending order
-rwxr-xr-xcfd_case_study_details.inc1
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)
{