summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmanage_proposal.inc12
-rwxr-xr-xom_flowsheet.module1
2 files changed, 7 insertions, 6 deletions
diff --git a/manage_proposal.inc b/manage_proposal.inc
index 368b82f..dd8d004 100755
--- a/manage_proposal.inc
+++ b/manage_proposal.inc
@@ -275,11 +275,11 @@ function om_flowsheet_proposal_approval_form($form, &$form_state)
'#markup' => $proposal_data->project_title,
'#title' => t('Title of the Flowsheet Project')
);
- $form['dwsim_flowsheet_name'] = array(
+ /*$form['dwsim_flowsheet_name'] = array(
'#type' => 'item',
'#title' => t('Name of the DWSIM flowsheet'),
'#markup' => $proposal_data->dwsim_flowsheet_name,
- );
+ );*/
$headers = array(
"User defined compound",
"CAS No."
@@ -563,11 +563,11 @@ function om_flowsheet_proposal_status_form($form, &$form_state)
'#markup' => $proposal_data->project_title,
'#title' => t('Title of the Flowsheet Project')
);
- $form['dwsim_flowsheet_name'] = array(
+ /*$form['dwsim_flowsheet_name'] = array(
'#type' => 'item',
'#title' => t('Name of the DWSIM flowsheet'),
'#markup' => $proposal_data->dwsim_flowsheet_name,
- );
+ );*/
$form['process_development_compound_name'] = array(
'#type' => 'item',
'#title' => t('Name of compound for which process development is carried out'),
@@ -938,12 +938,12 @@ else{
'#required' => TRUE,
'#default_value' => $proposal_data->project_title
);
- $form['dwsim_flowsheet_name'] = array(
+ /*$form['dwsim_flowsheet_name'] = array(
'#type' => 'textfield',
'#title' => t('The name of DWSIM flowsheet along with its serial number.'),
'#default_value' => $proposal_data->dwsim_flowsheet_name,
'#validated' => TRUE,
- );
+ );*/
$form['reference'] = array(
'#type' => 'textarea',
'#title' => t('Reference of the Flowsheet Project'),
diff --git a/om_flowsheet.module b/om_flowsheet.module
index ecf095a..bce14a0 100755
--- a/om_flowsheet.module
+++ b/om_flowsheet.module
@@ -880,6 +880,7 @@ function _df_list_of_dwsim_flowsheets()
$query = db_select('dwsim_flowsheet_proposal');
$query->fields('dwsim_flowsheet_proposal');
$query->condition('approval_status', 3);
+ $query->orderBy('project_title', 'ASC');
$dwsim_flowsheets_list = $query->execute();
while ($dwsim_flowsheets_list_data = $dwsim_flowsheets_list->fetchObject())
{