]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig
Fix number of entries in tag/list
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / material / Tag / tags.html.twig
index 6fd263d8efd43d5ea72ffa22d69c8a9b22733fa9..c5b516f9bb55f19a4c16e83d0ba9616689496d89 100644 (file)
@@ -9,7 +9,7 @@
     <br />
     <ul class="row data">
     {% for tag in tags %}
-        <li id="tag-{{ tag.id|e }}" class="col l4 m6 s12">{{tag.label}} ({{ tag.entries.getValues | length }})</li>
+        <li id="tag-{{ tag.id|e }}" class="col l4 m6 s12">{{tag.label}} ({{ tag.getEntriesByUser(app.user.id) | length }})</li>
     {% endfor %}
     </ul>
 {% endblock %}