Merge pull request #2020 from wallabag/fix-number-entries-per-tag

Fix number of entries in tag/list
This commit is contained in:
Jeremy Benoist
2016-05-07 11:09:37 +02:00
3 changed files with 14 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<ul>
{% for tag in tags %}
<li id="tag-{{ tag.id|e }}">{{tag.label}} ({{ tag.entries.getValues | length }})</li>
<li id="tag-{{ tag.id|e }}">{{tag.label}} ({{ tag.getEntriesByUserId(app.user.id) | length }})</li>
{% endfor %}
</ul>
{% endblock %}

View 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.getEntriesByUserId(app.user.id) | length }})</li>
{% endfor %}
</ul>
{% endblock %}