diff options
author | Sashi20 | 2023-08-22 14:23:06 +0530 |
---|---|---|
committer | GitHub | 2023-08-22 14:23:06 +0530 |
commit | d747d86c1fb1ef302fa3ed6860ad4fa75d0ddf67 (patch) | |
tree | a4fd859c45bd1d23fcc5ec35b2b1da60b53cb48d /lab_details.inc | |
parent | 3af300b9fabc56a8a0f9a1a115f5d01575203338 (diff) | |
parent | 1fae01689b8abaf52f2e267c740d8cd282add9d0 (diff) | |
download | DWSIM_lab_migration_module-d747d86c1fb1ef302fa3ed6860ad4fa75d0ddf67.tar.gz DWSIM_lab_migration_module-d747d86c1fb1ef302fa3ed6860ad4fa75d0ddf67.tar.bz2 DWSIM_lab_migration_module-d747d86c1fb1ef302fa3ed6860ad4fa75d0ddf67.zip |
Merge pull request #10 from Sashi20/master
Display labs in progress in descending order
Diffstat (limited to 'lab_details.inc')
-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 1d195c2..0f8ea80 100755 --- a/lab_details.inc +++ b/lab_details.inc @@ -56,7 +56,7 @@ function lab_migration_labs_progress_all() else { $preference_rows = array(); - $i = 1; + $i = $result->rowCount(); while ($row = $result->fetchObject()) { $approval_date = date("Y", $row->approval_date); @@ -66,7 +66,7 @@ function lab_migration_labs_progress_all() $row->lab_title, $approval_date ); - $i++; + $i--; } $preference_header = array( 'No', @@ -80,4 +80,4 @@ function lab_migration_labs_progress_all() )); } return $page_content; - }
\ No newline at end of file + } |