From: Stephen Finucane Date: Tue, 4 Jul 2017 13:11:28 +0000 (+0100) Subject: REST: Allow filtering of patches by date X-Git-Tag: v2.0.0~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18a2b98ac39f6c3fb670ac09d4576d59bf8fe5ac;p=thirdparty%2Fpatchwork.git REST: Allow filtering of patches by date This seems to have been missed for some reason. Let's fill in the gap. Signed-off-by: Stephen Finucane --- diff --git a/patchwork/api/filters.py b/patchwork/api/filters.py index 666a3d86..9966543b 100644 --- a/patchwork/api/filters.py +++ b/patchwork/api/filters.py @@ -110,7 +110,7 @@ class StateFilter(ModelChoiceFilter): field_class = StateChoiceField -class PatchFilter(ProjectMixin, FilterSet): +class PatchFilter(ProjectMixin, TimestampMixin, FilterSet): state = StateFilter(queryset=State.objects.all())