diff options
Diffstat (limited to 'plugins/CoreHome')
-rw-r--r-- | plugins/CoreHome/javascripts/dataTable_rowactions.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/CoreHome/javascripts/dataTable_rowactions.js b/plugins/CoreHome/javascripts/dataTable_rowactions.js index a13543e93d..347d19f467 100644 --- a/plugins/CoreHome/javascripts/dataTable_rowactions.js +++ b/plugins/CoreHome/javascripts/dataTable_rowactions.js @@ -288,6 +288,13 @@ DataTable_RowActions_RowEvolution.prototype.performAction = function (label, tr, label = this.multiEvolutionRows.join(','); } + $.each(this.dataTable.param, function (index, value) { + // we automatically add fields like idDimension, idGoal etc. + if (index !== 'idSite' && index.indexOf('id') === 0 && $.isNumeric(value)) { + extraParams[index] = value; + } + }); + // check if abandonedCarts is in the dataTable params and if so, propagate to row evolution request if (this.dataTable.param.abandonedCarts !== undefined) { extraParams['abandonedCarts'] = this.dataTable.param.abandonedCarts; |