From 4aefc233f77f4f9b9088c92656d8fc673631b3cd Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Tue, 11 Feb 2020 14:59:13 +0530 Subject: Modify the completed simulations table header --- flowsheet_details.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flowsheet_details.inc b/flowsheet_details.inc index c4e00ad..184be3a 100755 --- a/flowsheet_details.inc +++ b/flowsheet_details.inc @@ -6,7 +6,7 @@ function om_flowsheet_completed_proposals_all() $query = db_select('om_flowsheet_proposal'); $query->fields('om_flowsheet_proposal'); $query->condition('approval_status', 3); - $query->orderBy('actual_completion_date', 'ASC'); + $query->orderBy('actual_completion_date', 'DESC'); $result = $query->execute(); if ($result->rowCount() == 0) { @@ -34,8 +34,8 @@ function om_flowsheet_completed_proposals_all() 'No', 'Flowsheet Project', 'Contributor Name', - 'Institution', - 'Year' + 'University / Institute', + 'Year of Completion' ); $output .= theme('table', array( 'header' => $preference_header, @@ -78,7 +78,7 @@ function om_flowsheet_progress_all() 'No', 'Flowsheet Project', 'Contributor Name', - 'Institution', + 'University / Institute', 'Year' ); $page_content .= theme('table', array( -- cgit