Browse Source

Use logical filters for scrobble admin

No need to filter by video, but in progress and source are pretty handy.
Colin Powell 2 năm trước cách đây
mục cha
commit
da64cb2b6f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      vrobbler/apps/scrobbles/admin.py

+ 1 - 1
vrobbler/apps/scrobbles/admin.py

@@ -13,7 +13,7 @@ class ScrobbleAdmin(admin.ModelAdmin):
         "playback_position",
         "in_progress",
     )
-    list_filter = ("video",)
+    list_filter = ("in_progress", "source")
     ordering = ("-timestamp",)