summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202023-08-22 14:32:34 +0530
committerGitHub2023-08-22 14:32:34 +0530
commit579749e851878c629b21dd3421fd2a5c88e09f9b (patch)
treedcf0750bc977e15792ee0e0f677a9fcc1fac1adc
parentbf304c19b501b6d45110ca4a20c1083164cab720 (diff)
downloadcfd_case_study-579749e851878c629b21dd3421fd2a5c88e09f9b.tar.gz
cfd_case_study-579749e851878c629b21dd3421fd2a5c88e09f9b.tar.bz2
cfd_case_study-579749e851878c629b21dd3421fd2a5c88e09f9b.zip
Arrange in progress table in descending order
-rwxr-xr-xcfd_case_study_details.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfd_case_study_details.inc b/cfd_case_study_details.inc
index 0434e7f..2430c10 100755
--- a/cfd_case_study_details.inc
+++ b/cfd_case_study_details.inc
@@ -76,7 +76,7 @@ function cfd_case_study_progress_all()
{
$page_content .= "Work is in progress for the following case studies under case study Project<hr>";
$preference_rows = array();
- $i = 1;
+ $i = $result->rowCount();
while ($row = $result->fetchObject())
{
$approval_date = date("Y", $row->approval_date);
@@ -87,7 +87,7 @@ function cfd_case_study_progress_all()
$row->university,
$approval_date
);
- $i++;
+ $i--;
} //$row = $result->fetchObject()
$preference_header = array(
'No',