diff options
author | khoff <khoff> | 2004-01-12 20:40:28 +0000 |
---|---|---|
committer | khoff <khoff> | 2004-01-12 20:40:28 +0000 |
commit | bceb76982c9a2516122d7996f2a4c2a30cd79a45 (patch) | |
tree | 069536aaa479d5451d84dfbde7bcd2bd57e252ab /httemplate | |
parent | eb54e94a13683132c91bfb33ab90339e88e465c2 (diff) |
Lists are just better sorted.
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/edit/part_virtual_field.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/part_virtual_field.cgi b/httemplate/edit/part_virtual_field.cgi index 8bc84387f..fb10321e8 100644 --- a/httemplate/edit/part_virtual_field.cgi +++ b/httemplate/edit/part_virtual_field.cgi @@ -47,7 +47,7 @@ Field #<B><%=$vfieldpart or "(NEW)"%></B><BR><BR> <TD><% if ($action eq 'Add') { %> <SELECT SIZE=1 NAME="dbtable"><% my $dbdef = dbdef; # ick - foreach my $dbtable ($dbdef->tables) { + foreach my $dbtable (sort { $a cmp $b } $dbdef->tables) { if ($dbtable !~ /^h_/ and $dbdef->table($dbtable)->primary_key) { %> <OPTION VALUE="<%=$dbtable%>"><%=$dbtable%></OPTION><% |