diff options
author | Saketh1499 | 2022-02-16 13:55:15 +0530 |
---|---|---|
committer | GitHub | 2022-02-16 13:55:15 +0530 |
commit | 5510de990e7c31b7416a7a26b9ca13f94f03d501 (patch) | |
tree | 6d6bc750cafe22c185ed9ce21e0e1d806e79ca16 | |
parent | 358413ff56636fc73ecc2c6e491a8ae8586a6428 (diff) | |
parent | 0a71235188ef17a8bd2d94cc63b0ab1f833c4bad (diff) | |
download | om_flowsheet-5510de990e7c31b7416a7a26b9ca13f94f03d501.tar.gz om_flowsheet-5510de990e7c31b7416a7a26b9ca13f94f03d501.tar.bz2 om_flowsheet-5510de990e7c31b7416a7a26b9ca13f94f03d501.zip |
Merge pull request #14 from Saketh1499/development
Arranging serial number 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 184be3a..f392ce6 100755 --- a/flowsheet_details.inc +++ b/flowsheet_details.inc @@ -17,7 +17,7 @@ function om_flowsheet_completed_proposals_all() { $output .= "Work has been completed for the following flow sheets. We welcome your contributions. For more details, please visit ".l("https://om.fossee.in/chemical/flowsheeting-project","https://om.fossee.in/chemical/flowsheeting-project", array('attributes' => array('target' => '_blank')))."<hr>"; $preference_rows = array(); - $i = 1; + $i = $result->rowCount(); while ($row = $result->fetchObject()) { $completion_date = date("Y", $row->actual_completion_date); @@ -28,7 +28,7 @@ function om_flowsheet_completed_proposals_all() $row->university, $completion_date ); - $i++; + $i--; } //$row = $result->fetchObject() $preference_header = array( 'No', |