diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2019-05-25 00:18:03 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2019-05-25 00:18:03 +0300 |
commit | 871c31d0962a144b85ca2601a24b9d10ab707bfc (patch) | |
tree | fd5c680f7f480319ee521b54e604c351f11a7f55 /plugins/CoreHome | |
parent | b9df06dadfd8030401bb9ae1b8126e4cf13f33b5 (diff) |
Changed period in row evolution breaks graph/metric association (#14423)
* Changed period in row evolution breaks graph/metric association
fix #14208
worked for me, also with multi row evolution. Only known issue I found is if requesting eg first yearly row evolution which may have the `users` metric hidden, then switching to `day` period, and then the `users` metric is maybe supposed to become available but didn't. That should be quite edge case though.
* add class whether row is hidden
* Fixing couple regressions visible in ui tests.
* fix build + update comment
* tweak
* test tweak
Diffstat (limited to 'plugins/CoreHome')
-rw-r--r-- | plugins/CoreHome/templates/getMultiRowEvolutionPopover.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/templates/getMultiRowEvolutionPopover.twig b/plugins/CoreHome/templates/getMultiRowEvolutionPopover.twig index ec6d8b82c5..90d0a9aaf9 100644 --- a/plugins/CoreHome/templates/getMultiRowEvolutionPopover.twig +++ b/plugins/CoreHome/templates/getMultiRowEvolutionPopover.twig @@ -8,7 +8,7 @@ <h2>{{ availableRecordsText|translate }}</h2> <table class="metrics" border="0" cellpadding="0" cellspacing="0"> {% for i, metric in metrics %} - <tr {% if metric.hide|default %}style="display:none"{% endif %}> + <tr {% if metric.hide|default %}class="hiddenByDefault" style="display:none"{% endif %}> <td class="sparkline"> {{ metric.sparkline|raw }} </td> |