git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@12920
e93f8b46-1217-0410-a6f0-
8f06a7374b81
case params[:format]
when 'csv', 'pdf'
@limit = Setting.issues_export_limit.to_i
+ if params[:columns] == 'all'
+ @query.column_names = @query.available_inline_columns.map(&:name)
+ end
when 'atom'
@limit = Setting.feeds_limit.to_i
when 'xml', 'json'
offset(options[:offset])
scope = scope.preload(:custom_values)
+ if has_column?(:author)
+ scope = scope.preload(:author)
+ end
issues = scope.all