diff options
-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 += ">" |