Skip to content

Commit

Permalink
REST API: add "project" to series filter
Browse files Browse the repository at this point in the history
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>
Reviewed-by: Stephen Finucane <stephen@that.guru>
  • Loading branch information
Andy Doan authored and stephenfin committed Jan 26, 2017
1 parent 177fe83 commit 0820ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patchwork/api/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class SeriesFilter(TimestampMixin, FilterSet):

class Meta:
model = Series
fields = ('submitter',)
fields = ('submitter', 'project')


class CoverLetterFilter(TimestampMixin, FilterSet):
Expand Down

0 comments on commit 0820ceb

Please sign in to comment.