1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-22 08:56:17 +00:00

count() instead of length

This commit is contained in:
spl0k 2014-10-24 14:44:45 +02:00
parent 76f23a5f01
commit 276ebc9410

View File

@ -43,7 +43,7 @@
<tr>
<td><a href="{{ url_for('playlist_details', uid = p.id) }}">{{ p.name }}</a></td>
<td>{{ p.user.name }}</td>
<td>{{ p.tracks|length }}</td>
<td>{{ p.tracks.count() }}</td>
</tr>
{% endfor %}
</table>