summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-04 10:01:31 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-04 10:01:31 +0000
commit3d65ed7aa0b6892ca76160a89694acc4efa79f27 (patch)
tree3e1e40896eddb01d662eeaa00022326f49b61625 /app
parentb7127e3c1475b335406b7b1ce69b28c4aebfa362 (diff)
downloadredmine-3d65ed7aa0b6892ca76160a89694acc4efa79f27.tar.gz
redmine-3d65ed7aa0b6892ca76160a89694acc4efa79f27.zip
Follows r2647.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2648 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/controllers/issues_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index 4ab5bba1a..1aceefbf6 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -80,7 +80,7 @@ class IssuesController < ApplicationController
def changes
retrieve_query
sort_init 'id', 'desc'
- sort_update({'id' => "#{Issue.table_name}.id"}.merge(@query.columns.inject({}) {|h, c| h[c.name.to_s] = c.sortable; h}))
+ sort_update({'id' => "#{Issue.table_name}.id"}.merge(@query.available_columns.inject({}) {|h, c| h[c.name.to_s] = c.sortable; h}))
if @query.valid?
@journals = Journal.find :all, :include => [ :details, :user, {:issue => [:project, :author, :tracker, :status]} ],