From f30b043692ff0810094c13babceec868dc73d11f Mon Sep 17 00:00:00 2001
From: Ernesto Rico Schmidt <ernesto@helsinki.at>
Date: Mon, 11 Nov 2024 12:56:37 -0400
Subject: [PATCH] feat: use showIds to filter playlists by shows IDs

---
 program/filters.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/filters.py b/program/filters.py
index a061afaf..026f2059 100644
--- a/program/filters.py
+++ b/program/filters.py
@@ -341,11 +341,11 @@ class PlaylistFilter(filters.FilterSet):
         field_name="entries__file_id",
         help_text="Return only playlists that use to the specified file ID(s).",
     )
-    show_id = filters.NumberFilter(
+    show_ids = IntegerInFilter(
         field_name="show_id",
         help_text="Return only playlists for the specified show ID.",
     )
 
     class Meta:
-        fields = ("contains_file_ids",)
+        fields = ("contains_file_ids", "show_ids")
         model = models.Playlist
-- 
GitLab