Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <diosmosis@users.noreply.github.com>2019-05-02 06:40:19 +0300
committerGitHub <noreply@github.com>2019-05-02 06:40:19 +0300
commit754f61a128ce3d47a1c567b81365028c3107bab5 (patch)
tree8214824ccb701494118f5e9af03e19874a80f0f4 /plugins/CoreHome/javascripts
parent6268a6a928e2011ba6f84a6159b4ab483be62264 (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.js2
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],