[PATCH] REST: Allow filtering of patches by date

Stephen Finucane stephen at that.guru
Tue Jul 4 23:12:06 AEST 2017


This seems to have been missed for some reason. Let's fill in the gap.

Signed-off-by: Stephen Finucane <stephen at that.guru>
---
 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 666a3d8..9966543 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.9.4



More information about the Patchwork mailing list