diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-02-11 05:27:22 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-02-11 05:27:41 +0300 |
commit | 43198a2a0c38b15e834c1685cd75a6162a79d725 (patch) | |
tree | 9cf016498ec1734d4fe8f9dbd78dfc0148739f37 /plugins | |
parent | 67698a6b9dd289091dab8f38814255f015f32daf (diff) |
Fixes #7168 include_aggregate_rows was still enabled in exports when disabled previously
"0" (the string) was casted to a boolean in the `if` which lead to it being `true`
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/CoreHome/javascripts/dataTable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/javascripts/dataTable.js b/plugins/CoreHome/javascripts/dataTable.js index 2ce28c7ebf..6746663b7e 100644 --- a/plugins/CoreHome/javascripts/dataTable.js +++ b/plugins/CoreHome/javascripts/dataTable.js @@ -1098,7 +1098,7 @@ $.extend(DataTable.prototype, UIControl.prototype, { if (typeof self.param.flat != "undefined") { str += '&flat=' + (self.param.flat == 0 ? '0' : '1'); - if (typeof self.param.include_aggregate_rows != "undefined" && self.param.include_aggregate_rows) { + if (typeof self.param.include_aggregate_rows != "undefined" && self.param.include_aggregate_rows == '1') { str += '&include_aggregate_rows=1'; } if (!self.param.flat |