projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb54e94
)
Lists are just better sorted.
author
khoff
<khoff>
Mon, 12 Jan 2004 20:40:28 +0000
(20:40 +0000)
committer
khoff
<khoff>
Mon, 12 Jan 2004 20:40:28 +0000
(20:40 +0000)
httemplate/edit/part_virtual_field.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/part_virtual_field.cgi
b/httemplate/edit/part_virtual_field.cgi
index
8bc8438
..
fb10321
100644
(file)
--- 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><%