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:
authorThomas Steur <thomas.steur@googlemail.com>2014-11-10 04:42:28 +0300
committerThomas Steur <thomas.steur@googlemail.com>2014-11-10 05:19:45 +0300
commit8365602735361890930a11f88c8e59d85f883ba5 (patch)
tree18bc7444eead4bdfa31929d23b7d507c54b85ed6 /plugins/UserSettings
parent9c369538f29a4eb7e1713646e687a7f41800d6f0 (diff)
refs #6334 fix sorting list of plugins does not work if first value is < 0% or > 100%
Diffstat (limited to 'plugins/UserSettings')
-rw-r--r--plugins/UserSettings/API.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserSettings/API.php b/plugins/UserSettings/API.php
index 76b98ad8b2..1be5ecc6fc 100644
--- a/plugins/UserSettings/API.php
+++ b/plugins/UserSettings/API.php
@@ -230,7 +230,7 @@ class API extends \Piwik\Plugin\API
// The filter must be applied now so that the new column can
// be sorted by the generic filters (applied right after this loop exits)
$table->filter('ColumnCallbackAddColumnPercentage', array('nb_visits_percentage', Metrics::INDEX_NB_VISITS, $visitsSum, 1));
- $table->filter('RangeCheck', array('nb_visits_percentage'));
+ $table->filter('RangeCheck', array('nb_visits_percentage', '0.00%', '100.00%'));
}
$dataTable->queueFilter('ColumnCallbackAddMetadata', array('label', 'logo', __NAMESPACE__ . '\getPluginsLogo'));