From 3df5c485de343e892cde2fea135e4b92db30ca0c Mon Sep 17 00:00:00 2001 From: Yuri Rudman Date: Mon, 7 Aug 2017 10:07:40 -0400 Subject: [PATCH] do not limit width of table when downloading report in text format https://bugzilla.redhat.com/show_bug.cgi?id=1442857 --- 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