summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorkhoff <khoff>2004-01-12 20:40:28 +0000
committerkhoff <khoff>2004-01-12 20:40:28 +0000
commitbceb76982c9a2516122d7996f2a4c2a30cd79a45 (patch)
tree069536aaa479d5451d84dfbde7bcd2bd57e252ab /httemplate
parenteb54e94a13683132c91bfb33ab90339e88e465c2 (diff)
Lists are just better sorted.
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/edit/part_virtual_field.cgi2
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><%