From 76f23a5f01ebedd2bb48d343cd75dbd7eb38bca6 Mon Sep 17 00:00:00 2001 From: Andre-Nam Date: Wed, 22 Oct 2014 21:03:05 +0200 Subject: [PATCH] Storm: use .count() instead of length filter --- 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 3af4eef..413a9e1 100644 --- a/supysonic/templates/playlists.html +++ b/supysonic/templates/playlists.html @@ -28,7 +28,7 @@ {% for p in mine %} {{ p.name }} - {{ p.tracks|length }} + {{ p.tracks.count() }} X