diff options
author | Stefan Giehl <stefan@matomo.org> | 2021-10-18 22:52:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 22:52:07 +0300 |
commit | 4c8cce605c4e6d6ea16f50de7ff06bf90a7816cd (patch) | |
tree | 0f0a451588aa8a7e09fe2d4b96146d3ed6a25922 /plugins/CoreHome | |
parent | dc9f768ff8d11f5db025e5b6ab559055af6f4328 (diff) |
Fix initial export option values (#18174)
Diffstat (limited to 'plugins/CoreHome')
-rw-r--r-- | plugins/CoreHome/angularjs/report-export/reportexport.directive.js | 4 |
1 files changed, 2 insertions, 2 deletions
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 = { |