Skip to content

Commit 544d252

Browse files
committed
Fixed a bug in rendering the AD/Shepherd column in document list pages, when no AD is associated with a document. Fixes issue ietf-tools#1079.
- Legacy-Id: 5916
1 parent 6d8a7af commit 544d252

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/templates/idrfc/search_result_row.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
{% endif %}
7171
</td>
7272

73-
{% if ad_name != doc.ad.plain_name %}
73+
{% if ad_name == None or ad_name != doc.ad.plain_name %}
7474
<td class="ad">{{ doc.ad|default:"" }}<div class="search-text-shepherd">{{doc.shepherd|default:""}}</div></td>
7575
{% endif %}
7676

0 commit comments

Comments
 (0)