From ccd05d222f2ccf1810324c03f804b2a67ddf6a03 Mon Sep 17 00:00:00 2001 From: Gregg Tanzillo Date: Mon, 7 Aug 2017 21:36:27 -0400 Subject: [PATCH] Merge pull request #15750 from yrudman/remove-table-width-limitation-when-downloading-report Do not limit width of table when downloading report in text format (cherry picked from commit 5637f130fd66c437efe9a69eb6136ea4d8bdfeea) https://bugzilla.redhat.com/show_bug.cgi?id=1481864 --- app/models/miq_report/formatters/text.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/miq_report/formatters/text.rb b/app/models/miq_report/formatters/text.rb index 038cb3b8aba..178c124de02 100644 --- a/app/models/miq_report/formatters/text.rb +++ b/app/models/miq_report/formatters/text.rb @@ -2,6 +2,7 @@ module MiqReport::Formatters::Text def to_text ReportFormatter::ReportRenderer.render(:text) do |e| e.options.mri = (self) # set the MIQ_Report instance in the formatter + e.options.ignore_table_width = true end end alias_method :to_txt, :to_text