Skip to content

Commit

Permalink
Merge pull request #1827 from yrudman/fix-downloading-reports
Browse files Browse the repository at this point in the history
Fixed issue with downloading report
  • Loading branch information
h-kataria authored Aug 4, 2017
2 parents 01dfd80 + 9e3e8bc commit 282755e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller/report_downloads.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def render_report_data
# Send rendered report data
def send_report_data
if @sb[:render_rr_id]
rr = MiqReportResult.for_user(current_user).find(@sb[:render_rr_id])
rr = MiqReportResult.find(@sb[:render_rr_id])
filename = filename_timestamp(rr.report.title, 'export_filename')
disable_client_cache
generated_result = rr.get_generated_result(@sb[:render_type])
Expand Down

0 comments on commit 282755e

Please sign in to comment.