From ed46da21e54ded1a75e1045a0c18b224639638d3 Mon Sep 17 00:00:00 2001 From: akshay Date: Fri, 13 Dec 2024 12:34:15 +0530 Subject: table order by year in desc order --- science_and_concept_map_details.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/science_and_concept_map_details.inc b/science_and_concept_map_details.inc index d0ea026..75e8616 100755 --- a/science_and_concept_map_details.inc +++ b/science_and_concept_map_details.inc @@ -62,6 +62,7 @@ function science_and_concept_map_progress_all() $query->fields('soul_science_and_concept_map_proposal'); $query->condition('approval_status', 1); $query->condition('is_completed', 0); + $query->orderBy('approval_date', 'DESC'); $result = $query->execute(); if ($result->rowCount() == 0) { -- cgit