When writing git-pw, it was assumed that one could specify a filter
multiple times and it would be applied that way. This turned out to be a
false assumption and only the latest filter is applied. This is
confusing and prevents a number of possible usecases. Fix this.

Stephen Finucane (7):
  REST: Use UserFilter for patch delegates
  REST: Simplify ModelMultiChoiceField
  REST: Use ModelMultipleChoiceField
  REST: Remove ProjectFilterMixin
  REST: Rename Filter -> FilterSet
  REST: Use ModelMultipleChoiceField for other fields
  REST: Use DRF-specific filterset

 patchwork/api/bundle.py                            |   4 +-
 patchwork/api/check.py                             |   4 +-
 patchwork/api/cover.py                             |   4 +-
 patchwork/api/event.py                             |   4 +-
 patchwork/api/filters.py                           | 162 ++++++++++++---------
 patchwork/api/patch.py                             |   4 +-
 patchwork/api/series.py                            |   4 +-
 patchwork/tests/api/test_patch.py                  |  15 +-
 .../improved-rest-filtering-bf68399270a9b245.yaml  |  10 +-
 9 files changed, 129 insertions(+), 82 deletions(-)

-- 
2.14.3

_______________________________________________
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to