forked from CGM_Public/pretix_original
More useful titles in select2 widget for seats
This commit is contained in:
@@ -251,7 +251,7 @@ def seat_select2(request, **kwargs):
|
||||
'results': [
|
||||
{
|
||||
'id': e.pk,
|
||||
'text': '{} ({})'.format(e.name, str(e.product)),
|
||||
'text': '{} ({})'.format(str(e), str(e.product)),
|
||||
'product': e.product_id,
|
||||
'event': str(e.subevent) if e.subevent else ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user