diff options
author | Sashi20 | 2023-08-22 14:23:44 +0530 |
---|---|---|
committer | GitHub | 2023-08-22 14:23:44 +0530 |
commit | 72a368b54199c8f09db83c7ba7ca06d1b1dbe67f (patch) | |
tree | 123f4e3b1008b647bbc70273bf054c61e7c627d5 | |
parent | bdd32b7f464e2694d3e8f62dfdd47fe7abb76e9c (diff) | |
parent | 92171a7de1305489b6a2df9102f4a4e6b79e84dd (diff) | |
download | dwsim_flowsheet-72a368b54199c8f09db83c7ba7ca06d1b1dbe67f.tar.gz dwsim_flowsheet-72a368b54199c8f09db83c7ba7ca06d1b1dbe67f.tar.bz2 dwsim_flowsheet-72a368b54199c8f09db83c7ba7ca06d1b1dbe67f.zip |
Merge pull request #53 from Sashi20/drupal_7.x
Display projects in progress in descending order
-rwxr-xr-x | flowsheet_details.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flowsheet_details.inc b/flowsheet_details.inc index 9144b65..5b4229c 100755 --- a/flowsheet_details.inc +++ b/flowsheet_details.inc @@ -63,7 +63,7 @@ function dwsim_flowsheet_progress_all() { $page_content .= "Work is in progress for the following flowsheets under Flowsheeting Project<hr>";; $preference_rows = array(); - $i = 1; + $i = $result->rowCount(); while ($row = $result->fetchObject()) { $approval_date = date("Y", $row->approval_date); @@ -74,7 +74,7 @@ function dwsim_flowsheet_progress_all() $row->university, $approval_date ); - $i++; + $i--; } //$row = $result->fetchObject() $preference_header = array( 'No', |