diff --git a/program/filters.py b/program/filters.py index a072cdbdb50e9d701a39b6daa76b913b99bbd358..24b53b8249389d1a952d4766655efe8ee8f910b5 100644 --- a/program/filters.py +++ b/program/filters.py @@ -224,7 +224,7 @@ class NoteFilterSet(StaticFilterHelpTextMixin, filters.FilterSet): field_name="id", help_text="Return only notes matching the specified id(s).", ) - owner = IntegerInFilter( + show_owner = IntegerInFilter( field_name="show__owners", help_text="Return only notes by show the specified owner(s): all notes the user may edit.", ) @@ -232,13 +232,11 @@ class NoteFilterSet(StaticFilterHelpTextMixin, filters.FilterSet): class Meta: model = models.Note help_texts = { - "host": "Return only notes from the specified host.", - "user": "Return only notes created by the specified user.", + "owner": "Return only notes created by the specified user.", } fields = [ "ids", - "owner", - "user", + "show_owner" "owner", ]