API: Allow to filter order positions by voucher

This commit is contained in:
Raphael Michel
2018-08-31 12:53:37 +02:00
parent cc0083c6e5
commit 1ae97f5477
3 changed files with 10 additions and 0 deletions

View File

@@ -373,6 +373,8 @@ class OrderPositionFilter(FilterSet):
'addon_to': ['exact', 'in'],
'subevent': ['exact', 'in'],
'pseudonymization_id': ['exact'],
'voucher__code': ['exact'],
'voucher': ['exact'],
}