Commit 6d1678723ed016a594dd38e495d66fd7522b35bb
1 parent
2341e1e1
alias to one template
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/library/App/Controllers/GaController.php
@@ -48,7 +48,7 @@ class GaController extends CrudResourceController { | @@ -48,7 +48,7 @@ class GaController extends CrudResourceController { | ||
48 | foreach ($get_metrics as $metric) { | 48 | foreach ($get_metrics as $metric) { |
49 | $metrics_obj = new Google_Service_AnalyticsReporting_Metric(); | 49 | $metrics_obj = new Google_Service_AnalyticsReporting_Metric(); |
50 | $metrics_obj->setExpression('ga:'.$metric); | 50 | $metrics_obj->setExpression('ga:'.$metric); |
51 | - $metrics_obj->setAlias($metric); | 51 | + $metrics_obj->setAlias('ga:'.$metric); |
52 | $metrics[] = $metrics_obj; | 52 | $metrics[] = $metrics_obj; |
53 | } | 53 | } |
54 | 54 |