]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fix tags count in tags list on baggy 3203/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 10 Jun 2017 09:21:47 +0000 (11:21 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 10 Jun 2017 09:21:47 +0000 (11:21 +0200)
src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/tags.html.twig

index 1e2c6b425caae0296ad7500ecfeaddeed8ccf55a..7509918ede38c31fc8fa62845326494100b0e0b2 100644 (file)
@@ -9,7 +9,7 @@
 
     <ul>
     {% for tag in tags %}
-        <li id="tag-{{ tag.id|e }}"><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{tag.label}} ({{ tag.nbEntries | length }})</a></li>
+        <li id="tag-{{ tag.id|e }}"><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{tag.label}} ({{ tag.nbEntries }})</a></li>
     {% endfor %}
     </ul>