summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202023-08-22 14:31:43 +0530
committerGitHub2023-08-22 14:31:43 +0530
commitb89d244dcdfe9099afe7897abb270c53474720c8 (patch)
tree975afb380f83da2abc010913bab6f3ba2a630b60
parente39fb0504b8702d03d4d73cac346df0fd4e91db3 (diff)
downloadcfd_research_migration-b89d244dcdfe9099afe7897abb270c53474720c8.tar.gz
cfd_research_migration-b89d244dcdfe9099afe7897abb270c53474720c8.tar.bz2
cfd_research_migration-b89d244dcdfe9099afe7897abb270c53474720c8.zip
Arrange in progress table in descending order
-rwxr-xr-xcfd_research_migration_details.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfd_research_migration_details.inc b/cfd_research_migration_details.inc
index 70c11b1..cce2892 100755
--- a/cfd_research_migration_details.inc
+++ b/cfd_research_migration_details.inc
@@ -75,7 +75,7 @@ function cfd_research_migration_progress_all()
{
$page_content .= "Work is in progress for the following research migration under Research Migration Project<hr>";
$preference_rows = array();
- $i = 1;
+ $i = $result->rowCount();
while ($row = $result->fetchObject())
{
$approval_date = date("Y", $row->approval_date);
@@ -86,7 +86,7 @@ function cfd_research_migration_progress_all()
$row->university,
$approval_date
);
- $i++;
+ $i--;
} //$row = $result->fetchObject()
$preference_header = array(
'No',