mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 17:06:17 +00:00
Storm: use .count() instead of length filter
This commit is contained in:
parent
dd79c4d750
commit
76f23a5f01
@ -28,7 +28,7 @@
|
|||||||
{% for p in mine %}
|
{% for p in mine %}
|
||||||
<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.tracks|length }}</td>
|
<td>{{ p.tracks.count() }}</td>
|
||||||
<td><input type="checkbox" disabled="true" {% if p.public %}checked="true"{% endif %} /></td>
|
<td><input type="checkbox" disabled="true" {% if p.public %}checked="true"{% endif %} /></td>
|
||||||
<td><a href="{{ url_for('playlist_delete', uid = p.id) }}">X</a></td>
|
<td><a href="{{ url_for('playlist_delete', uid = p.id) }}">X</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user