mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Quota item selection: Strike disabled items in select2
This commit is contained in:
@@ -674,6 +674,7 @@ def itemvar_select2(request, **kwargs):
|
||||
{
|
||||
'id': k,
|
||||
'text': str(v),
|
||||
'inactive': d,
|
||||
}
|
||||
for k, v, d in choices
|
||||
],
|
||||
@@ -715,6 +716,7 @@ def itemvars_select2(request, **kwargs):
|
||||
{
|
||||
'id': k,
|
||||
'text': str(v),
|
||||
'inactive': d,
|
||||
}
|
||||
for k, v, d in choices
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user