Merged in [16937] from rjsparks@nostrum.com:
Only show a blocked document once in the set of blocked documents on an ADs document page. Fixes #2818.
- Legacy-Id: 16938
Note: SVN reference [16937] has been migrated to Git commit 8f1e9990cf
This commit is contained in:
parent
156b492d84
commit
63484a8cb5
|
@ -425,7 +425,7 @@ def docs_for_ad(request, name):
|
|||
Q(states__type__in=("statchg", "conflrev"),
|
||||
states__slug__in=("iesgeval", "defer")),
|
||||
docevent__ballotpositiondocevent__pos__blocking=True,
|
||||
docevent__ballotpositiondocevent__ad=ad)
|
||||
docevent__ballotpositiondocevent__ad=ad).distinct()
|
||||
for doc in possible_docs:
|
||||
ballot = doc.active_ballot()
|
||||
if not ballot:
|
||||
|
|
Loading…
Reference in a new issue