Commit f600235a authored by Leigh B. Stoller's avatar Leigh B. Stoller

Flyspray bug #119; order parameters and bindings alphabetically.

parent c955ff10
......@@ -841,7 +841,8 @@ class Template
DBQueryFatal("select name,value ".
" from experiment_template_parameters ".
"where parent_guid='$guid' and ".
" parent_vers='$vers'");
" parent_vers='$vers' ".
"order by name");
while ($row = mysql_fetch_array($query_result)) {
$name = $row['name'];
......@@ -1362,7 +1363,8 @@ class TemplateInstance
DBQueryFatal("select * ".
" from experiment_template_instance_bindings ".
"where parent_guid='$guid' and parent_vers='$vers' ".
" and instance_idx='$instance_idx'");
" and instance_idx='$instance_idx' ".
"order by name");
while ($row = mysql_fetch_array($query_result)) {
$name = $row['name'];
......@@ -1384,7 +1386,8 @@ class TemplateInstance
$query_result =
DBQueryFatal("select * from experiment_run_bindings ".
"where exptidx='$exptidx' and runidx='$runidx'");
"where exptidx='$exptidx' and runidx='$runidx' ".
"order by name");
while ($row = mysql_fetch_array($query_result)) {
$name = $row['name'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment