From 276ebc94107ca1f6337d987abc05bcddeb0ffaae Mon Sep 17 00:00:00 2001 From: spl0k Date: Fri, 24 Oct 2014 14:44:45 +0200 Subject: [PATCH] count() instead of length --- supysonic/templates/playlists.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supysonic/templates/playlists.html b/supysonic/templates/playlists.html index 413a9e1..d08e380 100644 --- a/supysonic/templates/playlists.html +++ b/supysonic/templates/playlists.html @@ -43,7 +43,7 @@ {{ p.name }} {{ p.user.name }} - {{ p.tracks|length }} + {{ p.tracks.count() }} {% endfor %}