Skip to content

Instantly share code, notes, and snippets.

@MischaTheEvil
Created January 21, 2009 22:23
Show Gist options
  • Save MischaTheEvil/50252 to your computer and use it in GitHub Desktop.
Save MischaTheEvil/50252 to your computer and use it in GitHub Desktop.
This line (23 of ../vendor/plugins/redmine_charts/app/controllers/charts_groups_controller.rb) doesn't work:
rows = TimeEntry.find(:all, :joins => "left join issues on issues.id = issue_id", :select => select, :conditions => conditions, :readonly => true, :group => group, :order => "sum(hours) desc")
...but this does:
rows = TimeEntry.find(:all, :joins => "left join issues on issues.id = issue_id", :select => select, :conditions => conditions, :readonly => true, :group => group")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment