Skip to content
Snippets Groups Projects
Commit 2d9ca7ff authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Update filters

parent 103991ef
No related branches found
No related tags found
No related merge requests found
...@@ -51,8 +51,7 @@ class ShowFilterSet(StaticFilterHelpTextMixin, filters.FilterSet): ...@@ -51,8 +51,7 @@ class ShowFilterSet(StaticFilterHelpTextMixin, filters.FilterSet):
field_name="hosts", field_name="hosts",
help_text="Return only shows assigned to the given host(s).", help_text="Return only shows assigned to the given host(s).",
) )
# TODO: replace `musicfocus` with `music_focus` when dashboard is updated music_focus = IntegerInFilter(
musicfocus = IntegerInFilter(
field_name="music_focus", field_name="music_focus",
help_text="Return only shows with given music focus(es).", help_text="Return only shows with given music focus(es).",
) )
...@@ -117,7 +116,7 @@ class ShowFilterSet(StaticFilterHelpTextMixin, filters.FilterSet): ...@@ -117,7 +116,7 @@ class ShowFilterSet(StaticFilterHelpTextMixin, filters.FilterSet):
"category", "category",
"host", "host",
"language", "language",
"musicfocus", "music_focus",
"owner", "owner",
"public", "public",
"topic", "topic",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment