diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-12-09 21:46:30 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-12-09 21:46:30 +0100 |
commit | 453d00a77f3eb48b62b03b853eee07a58efada8d (patch) | |
tree | c3da59ade535fe8d92a6d33c52da5082a584a241 /pollhead.rb | |
parent | a6a262d769d428013543999079c2766379ec3cab (diff) |
bugfix: forgot to sort, display was broken
Diffstat (limited to 'pollhead.rb')
-rw-r--r-- | pollhead.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pollhead.rb b/pollhead.rb index 88ca587..9afd8b3 100644 --- a/pollhead.rb +++ b/pollhead.rb @@ -60,7 +60,7 @@ class PollHead end ret = "<tr>" ret += "<th><a href='?sort=name'>Name #{sortsymb(scols,"name")}</a></th>\n" unless showeditbuttons - @data.each{|columntitle,columndescription| + @data.sort.each{|columntitle,columndescription| ret += "<th" ret += " id='active' " if activecolumn == columntitle ret += ">" |