summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202023-08-22 14:08:23 +0530
committerSashi202023-08-22 14:08:23 +0530
commit92171a7de1305489b6a2df9102f4a4e6b79e84dd (patch)
tree123f4e3b1008b647bbc70273bf054c61e7c627d5
parentbdd32b7f464e2694d3e8f62dfdd47fe7abb76e9c (diff)
downloaddwsim_flowsheet-92171a7de1305489b6a2df9102f4a4e6b79e84dd.tar.gz
dwsim_flowsheet-92171a7de1305489b6a2df9102f4a4e6b79e84dd.tar.bz2
dwsim_flowsheet-92171a7de1305489b6a2df9102f4a4e6b79e84dd.zip
Display projects in progress in descending order
-rwxr-xr-xflowsheet_details.inc4
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',