backports murph-skeleton

This commit is contained in:
Simon Vieille 2022-02-22 14:17:02 +01:00
parent 2f837e3412
commit 45dab306d6
2 changed files with 5 additions and 1 deletions

View file

@ -105,6 +105,10 @@ class DateRangeAnalytic
$path = parse_url($entity->getUri(), PHP_URL_PATH);
if (empty($path)) {
$path = '/';
}
if (!isset($datas[$index]['uris'][$path])) {
$datas[$index]['uris'][$path] = 0;
}

View file

@ -98,7 +98,7 @@
{% for path, views in info.uris %}
<div class="pl-3">
<div class="float-right">
{{ info.views }}
{{ views }}
</div>
{{ path }}