From 4c8cce605c4e6d6ea16f50de7ff06bf90a7816cd Mon Sep 17 00:00:00 2001 From: Stefan Giehl Date: Mon, 18 Oct 2021 21:52:07 +0200 Subject: Fix initial export option values (#18174) --- plugins/CoreHome/angularjs/report-export/reportexport.directive.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/CoreHome') diff --git a/plugins/CoreHome/angularjs/report-export/reportexport.directive.js b/plugins/CoreHome/angularjs/report-export/reportexport.directive.js index a842619ca7..a0edb62b11 100644 --- a/plugins/CoreHome/angularjs/report-export/reportexport.directive.js +++ b/plugins/CoreHome/angularjs/report-export/reportexport.directive.js @@ -224,8 +224,8 @@ scope.reportLimit = reportLimit > 0 ? reportLimit : 100; scope.reportLimitAll = reportLimit == -1 ? 'yes' : 'no'; scope.optionFlat = dataTable.param.flat === true || dataTable.param.flat === 1 || dataTable.param.flat === "1"; - scope.optionExpanded = 1; - scope.optionFormatMetrics = 0; + scope.optionExpanded = true; + scope.optionFormatMetrics = false; scope.hasSubtables = scope.optionFlat || dataTable.numberOfSubtables > 0; scope.availableReportFormats = { -- cgit v1.2.3