Skip to content

Commit f909a19

Browse files
committed
Remove submissioncheck results from search_result_row until performance issues are addressed. Commit ready for merge.
- Legacy-Id: 19452
1 parent 6351ce8 commit f909a19

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

ietf/doc/utils_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def prepare_document_table(request, docs, query=None, max_results=200):
158158
# the number of queries
159159
docs = docs.select_related("ad", "std_level", "intended_std_level", "group", "stream", "shepherd", )
160160
docs = docs.prefetch_related("states__type", "tags", "groupmilestone_set__group", "reviewrequest_set__team",
161-
"submission_set__checks", "ad__email_set", "docalias__iprdocrel_set")
161+
"ad__email_set", "docalias__iprdocrel_set")
162162
docs = list(docs)
163163

164164
fill_in_document_table_attributes(docs)

ietf/templates/doc/search/search_result_row.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
{% endif %}
8686
</span>
8787

88+
{% comment %}
8889
{% for check in doc.submission.latest_checks %}
8990
{% if check.passed != None and check.symbol.strip %}
9091
{% if check.errors or check.warnings %}
@@ -95,6 +96,7 @@
9596
{% include "doc/yang-check-modal-overlay.html" %}
9697
{% endif %}
9798
{% endfor %}
99+
{% endcomment %}
98100

99101
{% if doc.pages %}
100102
<br><small class="text-muted">{{doc.pages}} page{{ doc.pages|pluralize }}</small>

0 commit comments

Comments
 (0)