diff options
author | Saketh1499 | 2022-02-15 15:05:51 +0530 |
---|---|---|
committer | Saketh1499 | 2022-02-15 15:05:51 +0530 |
commit | e5cea562213178a18486a29ca93bd677e56de6c7 (patch) | |
tree | 2ced94bdf5ac759833d1c23a276beb3c23f3ef72 | |
parent | 88f2ea0a9c615ec3bf80c6ac5595c1c45f16d0d2 (diff) | |
download | cfd_lab_migration-e5cea562213178a18486a29ca93bd677e56de6c7.tar.gz cfd_lab_migration-e5cea562213178a18486a29ca93bd677e56de6c7.tar.bz2 cfd_lab_migration-e5cea562213178a18486a29ca93bd677e56de6c7.zip |
Arranging serial number in descending order
-rwxr-xr-x | lab_details.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lab_details.inc b/lab_details.inc index baf30a3..9b95d43 100755 --- a/lab_details.inc +++ b/lab_details.inc @@ -16,7 +16,7 @@ function lab_migration_completed_labs_all() else { $preference_rows = array(); - $i = 1; + $i = $result->rowCount(); while ($row = $result->fetchObject()) { $approval_date = date("Y", $row->approval_date); @@ -26,7 +26,7 @@ function lab_migration_completed_labs_all() l($row->lab_title, "lab-migration/lab-migration-run/" . $row->id), $approval_date ); - $i++; + $i--; } $preference_header = array( 'No', |