Fix regression in e19d79a2b

This commit is contained in:
Raphael Michel
2021-05-19 10:16:43 +02:00
parent ac4e4a2578
commit 587c4f5a81
2 changed files with 3 additions and 5 deletions

View File

@@ -494,8 +494,6 @@ Order position endpoints
* If ``attendee_name`` is empty, it will automatically fall back to values from a parent product or from invoice * If ``attendee_name`` is empty, it will automatically fall back to values from a parent product or from invoice
addresses. addresses.
**Instead of an ID, you can also use the ``secret`` field as the lookup parameter.**
**Example request**: **Example request**:
.. sourcecode:: http .. sourcecode:: http
@@ -569,7 +567,7 @@ Order position endpoints
Tries to redeem an order position, identified by its internal ID, i.e. checks the attendee in. This endpoint Tries to redeem an order position, identified by its internal ID, i.e. checks the attendee in. This endpoint
accepts a number of optional requests in the body. accepts a number of optional requests in the body.
**Instead of an ID, you can also use the ``secret`` field as the lookup parameter.** **Tip:** Instead of an ID, you can also use the ``secret`` field as the lookup parameter.
:<json boolean questions_supported: When this parameter is set to ``true``, handling of questions is supported. If :<json boolean questions_supported: When this parameter is set to ``true``, handling of questions is supported. If
you do not implement question handling in your user interface, you **must** you do not implement question handling in your user interface, you **must**

View File

@@ -106,7 +106,7 @@ with scopes_disabled():
Q(date_to__gt=value) | Q(date_from__gt=value, date_to__isnull=True), Q(date_to__gt=value) | Q(date_from__gt=value, date_to__isnull=True),
event=self.request.event event=self.request.event
).values_list('id'), ).values_list('id'),
).values_list('id') ).values_list('order_id')
) )
) )
return qs return qs
@@ -119,7 +119,7 @@ with scopes_disabled():
Q(date_from__lt=value), Q(date_from__lt=value),
event=self.request.event event=self.request.event
).values_list('id'), ).values_list('id'),
).values_list('id') ).values_list('order_id')
) )
) )
return qs return qs