diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2019-05-02 06:40:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-02 06:40:19 +0300 |
commit | 754f61a128ce3d47a1c567b81365028c3107bab5 (patch) | |
tree | 8214824ccb701494118f5e9af03e19874a80f0f4 /plugins/CoreHome/javascripts | |
parent | 6268a6a928e2011ba6f84a6159b4ab483be62264 (diff) |
Allow limit selection contents to be customized by specific visualization. (#14363)
Diffstat (limited to 'plugins/CoreHome/javascripts')
-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 a657c853fc..6ee9e93600 100644 --- a/plugins/CoreHome/javascripts/dataTable.js +++ b/plugins/CoreHome/javascripts/dataTable.js @@ -628,7 +628,7 @@ $.extend(DataTable.prototype, UIControl.prototype, { }, handleLimit: function (domElem) { - var tableRowLimits = piwik.config.datatable_row_limits, + var tableRowLimits = this.props.datatable_row_limits || piwik.config.datatable_row_limits, evolutionLimits = { day: [8, 30, 60, 90, 180], |