diff options
-rwxr-xr-x | lab_details.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lab_details.inc b/lab_details.inc index baf30a3..898b504 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', @@ -57,7 +57,7 @@ function lab_migration_labs_progress_all() else { //$result = db_query($query); - $page_content .= "<ol>"; + $page_content .= "<ol reversed>"; while ($row = $result->fetchObject()) { $page_content .= "<li>"; |