Defect #26785 » fix-26785.diff
app/controllers/issues_controller.rb (working copy) | ||
---|---|---|
40 | 40 |
helper :timelog |
41 | 41 | |
42 | 42 |
def index |
43 |
saved_column_names = session[:issue_query][:column_names] |
|
43 | 44 |
retrieve_query |
44 | 45 | |
45 | 46 |
if @query.valid? |
... | ... | |
64 | 65 |
format.csv { |
65 | 66 |
@issues = @query.issues(:limit => Setting.issues_export_limit.to_i) |
66 | 67 |
send_data(query_to_csv(@issues, @query, params[:csv]), :type => 'text/csv; header=present', :filename => 'issues.csv') |
68 |
session[:issue_query][:column_names] = saved_column_names |
|
67 | 69 |
} |
68 | 70 |
format.pdf { |
69 | 71 |
@issues = @query.issues(:limit => Setting.issues_export_limit.to_i) |