diff options
author | prashantsinalkar | 2017-03-01 16:59:37 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-03-01 16:59:37 +0530 |
commit | 1d6c48c055acb670ea0547800e07b599e25467f5 (patch) | |
tree | ce65e939c86a8ab40a59df3ac037015cfa2478e2 | |
parent | ee4c3b2d36f7b106d9074a9a6c6e4b7efdf96301 (diff) | |
download | dwsim_flowsheet-1d6c48c055acb670ea0547800e07b599e25467f5.tar.gz dwsim_flowsheet-1d6c48c055acb670ea0547800e07b599e25467f5.tar.bz2 dwsim_flowsheet-1d6c48c055acb670ea0547800e07b599e25467f5.zip |
done minor changes
-rwxr-xr-x | dwsim_flowsheet.module | 2 | ||||
-rwxr-xr-x | proposal.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dwsim_flowsheet.module b/dwsim_flowsheet.module index 48a865f..e3cdb7e 100755 --- a/dwsim_flowsheet.module +++ b/dwsim_flowsheet.module @@ -670,7 +670,7 @@ function _df_list_of_dwsim_compound() $dwsim_compound = array(); $query = db_select('dwsim_flowsheet_compounds_from_dwsim'); $query->fields('dwsim_flowsheet_compounds_from_dwsim'); - $query->orderBy('id', 'ASC'); + $query->orderBy('compound', 'ASC'); $dwsim_compound_list = $query->execute(); while ($dwsim_compound_list_data = $dwsim_compound_list->fetchObject()) { diff --git a/proposal.inc b/proposal.inc index 6564ae7..41a6508 100755 --- a/proposal.inc +++ b/proposal.inc @@ -26,7 +26,7 @@ function dwsim_flowsheet_proposal_form($form, &$form_state, $no_js_use = FALSE) /************************ start approve book details ************************/ if ($user->uid == 0) { - $msg = drupal_set_message(t('It is mandatory to ' . l('login', 'user') . ' on this website to access the lab proposal form. If you are new user please create a new account first.'), 'error'); + $msg = drupal_set_message(t('It is mandatory to ' . l('login', 'user') . ' on this website to access the flowsheet proposal form. If you are new user please create a new account first.'), 'error'); //drupal_goto('dwsim-flowsheet-project'); drupal_goto('user'); return $msg; |