From 27f4b4284bdd410fe9b6a465de802d3b8bc99e45 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Wed, 3 May 2017 15:25:07 +0100 Subject: [PATCH] REST: Add 'category' filter to '/events' There doesn't appear to be any reason that this _can't_ be included, and it does make the resource a little more usable. 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 41adcbdd..7c7d7427 100644 --- a/patchwork/api/filters.py +++ b/patchwork/api/filters.py @@ -73,7 +73,7 @@ class EventFilter(FilterSet): class Meta: model = Event - fields = ('project', 'series', 'patch', 'cover') + fields = ('project', 'category', 'series', 'patch', 'cover') class BundleFilter(FilterSet): -- 2.47.3