]> projects.mako.cc - selectricity/blobdiff - app/controllers/front_controller.rb
fixed colors on graphs
[selectricity] / app / controllers / front_controller.rb
index c4a198da265dbbebe6b9b481c6f832568151a286..8b8ae68203a7a2de1a6e396be6c72c0b674e81eb 100644 (file)
@@ -5,7 +5,7 @@ class FrontController < ApplicationController
   require_dependency "account"
 
   def index
-    @quickvotes = QuickVote.find(:all).sort {|a,b| b.enddate <=> a.enddate}[0..1]
+    @quickvotes = QuickVote.find(:all).sort {|a,b| b.startdate <=> a.startdate}[0..1]
     # if the person claims they are logged in
    
     if logged_in?

Benjamin Mako Hill || Want to submit a patch?