forked from CGM_Public/pretix_original
Fix regression in e19d79a2b
This commit is contained in:
@@ -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**
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user