Message ID | 1485375423-2521-1-git-send-email-andy.doan@linaro.org |
---|---|
State | Accepted |
Headers | show |
On Wed, 2017-01-25 at 14:17 -0600, Andy Doan wrote: > It would be nice to allow users to filter on the project they are > interested in. Indeed it would. Applied. > Signed-off-by: Andy Doan <andy.doan@linaro.org> Reviewed-by: Stephen Finucane <stephen@that.guru>
diff --git a/patchwork/api/filters.py b/patchwork/api/filters.py index 5f237b4..f475ca8 100644 --- a/patchwork/api/filters.py +++ b/patchwork/api/filters.py @@ -37,7 +37,7 @@ class SeriesFilter(TimestampMixin, FilterSet): class Meta: model = Series - fields = ('submitter',) + fields = ('submitter', 'project') class CoverLetterFilter(TimestampMixin, FilterSet):
It would be nice to allow users to filter on the project they are interested in. Signed-off-by: Andy Doan <andy.doan@linaro.org> --- patchwork/api/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4