alfortville: make sure not to display unsorted mails as waiting for validation
This commit is contained in:
parent
787248d410
commit
f11ea614b6
|
@ -214,6 +214,8 @@ class TableWaiting(TemplateView):
|
|||
formdata_id__isnull=True,
|
||||
source_pk__isnull=False,
|
||||
source_type=content_type.id):
|
||||
if not association.source.status: # still on first screen
|
||||
continue
|
||||
if association.source_pk not in seen:
|
||||
context['objects'].append(association.source)
|
||||
seen['association.source_pk'] = True
|
||||
|
|
Loading…
Reference in New Issue