mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Order list: Filter by answers should be case-sensitive
This commit is contained in:
@@ -289,7 +289,7 @@ class EventOrderFilterForm(OrderFilterForm):
|
||||
answers = QuestionAnswer.objects.filter(
|
||||
question_id=q.pk,
|
||||
orderposition__order_id=OuterRef('pk'),
|
||||
answer__iexact=fdata.get('answer')
|
||||
answer__exact=fdata.get('answer')
|
||||
)
|
||||
qs = qs.annotate(has_answer=Exists(answers)).filter(has_answer=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user