summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-02-22 11:22:43 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-02-22 11:22:43 +0000
commit411ddaf70119223bd6bac1ae246873ceb5ad8e54 (patch)
treea5559824c1e4d3c0f91d8ab77f9801f589af786b /app/controllers
parent9b6f53219fc340222ffa8758b63d84d747bf8ebc (diff)
downloadredmine-411ddaf70119223bd6bac1ae246873ceb5ad8e54.tar.gz
redmine-411ddaf70119223bd6bac1ae246873ceb5ad8e54.zip
Preload authors for /issues API calls.
git-svn-id: http://svn.redmine.org/redmine/trunk@12912 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/issues_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index dbc55cbd4..de346c576 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -69,6 +69,7 @@ class IssuesController < ApplicationController
@limit = Setting.feeds_limit.to_i
when 'xml', 'json'
@offset, @limit = api_offset_and_limit
+ @query.column_names = %w(author)
else
@limit = per_page_option
end