diff options
author | Stefan Giehl <stefan@piwik.org> | 2018-06-19 05:41:08 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2018-06-19 05:41:08 +0300 |
commit | c0fab0c0e85d5717623e56118ac8663176e84468 (patch) | |
tree | e757a75436a79dd29915cd6aa8ff892de961102c /plugins/CoreHome/DataTableRowAction | |
parent | ab2b3f32817526e5b96f1b94e47aa51b9f4cf938 (diff) |
Format metrics in row evolution popover correctly (#13077)
* Format metrics in row evolution popover correctly
* Update UI files
Diffstat (limited to 'plugins/CoreHome/DataTableRowAction')
-rw-r--r-- | plugins/CoreHome/DataTableRowAction/RowEvolution.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreHome/DataTableRowAction/RowEvolution.php b/plugins/CoreHome/DataTableRowAction/RowEvolution.php index f7ab18c259..0fc5e880fb 100644 --- a/plugins/CoreHome/DataTableRowAction/RowEvolution.php +++ b/plugins/CoreHome/DataTableRowAction/RowEvolution.php @@ -237,8 +237,8 @@ class RowEvolution list($first, $last) = $this->getFirstAndLastDataPointsForMetric($metric); $details = Piwik::translate('RowEvolution_MetricBetweenText', array( - NumberFormatter::getInstance()->format($first), - NumberFormatter::getInstance()->format($last) + NumberFormatter::getInstance()->format($first) . $unit, + NumberFormatter::getInstance()->format($last) . $unit )); if ($change !== false) { |