From 18a2b98ac39f6c3fb670ac09d4576d59bf8fe5ac Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 4 Jul 2017 14:11:28 +0100 Subject: [PATCH] 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 --- patchwork/api/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) -- 2.47.3