Skip to content

Commit 37f9aa0

Browse files
committed
Merged in [12438] from rjsparks@nostrum.com:
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. - Legacy-Id: 12441 Note: SVN reference [12438] has been migrated to Git commit d1c0c05
1 parent 8b60560 commit 37f9aa0

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)