diff options
author | Sashi20 | 2023-08-22 14:24:13 +0530 |
---|---|---|
committer | GitHub | 2023-08-22 14:24:13 +0530 |
commit | 4a51fa4d5af0a42c58bcf9b52310f0721556cdb9 (patch) | |
tree | d45b7363de2f1b9d27b72a446b3ec783e4a257b7 | |
parent | 158c9ccd56686ec4ff5c8e1e2448c17de017c597 (diff) | |
parent | 67b68cb694e49bcb46a1678a1308305db9cef6f3 (diff) | |
download | dwsim_custom_model-4a51fa4d5af0a42c58bcf9b52310f0721556cdb9.tar.gz dwsim_custom_model-4a51fa4d5af0a42c58bcf9b52310f0721556cdb9.tar.bz2 dwsim_custom_model-4a51fa4d5af0a42c58bcf9b52310f0721556cdb9.zip |
Merge pull request #10 from Sashi20/master
Display projects in progress in reverse order
-rwxr-xr-x | custom_model_details.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/custom_model_details.inc b/custom_model_details.inc index 903eec8..5c2b8aa 100755 --- a/custom_model_details.inc +++ b/custom_model_details.inc @@ -64,7 +64,7 @@ function custom_model_progress_all() { $page_content .= "Work is in progress for the following custom model under DWSIM Custom Model Project<hr>"; $preference_rows = array(); - $i = 1; + $i = $result->rowCount(); while ($row = $result->fetchObject()) { $approval_date = date("Y", $row->approval_date); @@ -75,7 +75,7 @@ function custom_model_progress_all() $row->university, $approval_date ); - $i++; + $i--; } //$row = $result->fetchObject() $preference_header = array( 'No', |