mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-23 01:16:18 +00:00
count() instead of length
This commit is contained in:
parent
76f23a5f01
commit
276ebc9410
@ -43,7 +43,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ url_for('playlist_details', uid = p.id) }}">{{ p.name }}</a></td>
|
<td><a href="{{ url_for('playlist_details', uid = p.id) }}">{{ p.name }}</a></td>
|
||||||
<td>{{ p.user.name }}</td>
|
<td>{{ p.user.name }}</td>
|
||||||
<td>{{ p.tracks|length }}</td>
|
<td>{{ p.tracks.count() }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
Reference in New Issue
Block a user