Skip to content

Commit d1c0c05

Browse files
committed
Don't show teams with only 'No response' reviews in the search result rows, using the same logic as used for the document main page. Fixes ietf-tools#2070. Commit ready for merge.
- Legacy-Id: 12438
1 parent 6e8a960 commit d1c0c05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/doc/utils_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def fill_in_document_table_attributes(docs):
6262
if d.get_state_slug() != "rfc":
6363
d.milestones = sorted((m for m in d.groupmilestone_set.all() if m.state_id == "active"), key=lambda m: m.time)
6464

65-
d.reviewed_by_teams = sorted(set(r.team for r in d.reviewrequest_set.all()), key=lambda g: g.acronym)
65+
d.reviewed_by_teams = sorted(set(r.team for r in d.reviewrequest_set.filter(state__in=["requested","accepted","part-completed","completed"])), key=lambda g: g.acronym)
6666

6767

6868
# RFCs

0 commit comments

Comments
 (0)