Skip to content

Commit a8742de

Browse files
committed
Fix result table.
- Legacy-Id: 19588
1 parent 39d500d commit a8742de

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

ietf/templates/doc/search/search_results.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
{% comment %}
1717
Disable the js tablesort stuff for a truncate result, per Henrik.
18+
FIXME: datatables support partial loading via AJAX, should redesign this
1819
{% endcomment %}
1920
<table class="table table-condensed table-striped {% if not meta.max %}tablesorter{% endif %}">
2021
<thead>
@@ -50,8 +51,8 @@
5051
{% regroup docs by search_heading as grouped_docs %}
5152

5253
{% for doc_group in grouped_docs %}
53-
<tbody>
54-
<tr class="info">
54+
<thead>
55+
<tr class="table-info">
5556
<th></th>
5657
{% if color_row_positions %}
5758
<th colspan="{{ meta.headers|length }}">
@@ -61,7 +62,7 @@
6162
{{ doc_group.grouper|plural:doc_group.list }} ({{doc_group.list|length}} {{"hit"|plural:doc_group.list}})
6263
</th>
6364
</tr>
64-
</tbody>
65+
</thead>
6566

6667
<tbody>
6768
{% for doc in doc_group.list %}
@@ -70,4 +71,4 @@
7071
{% endfor %}
7172
</tbody>
7273
</table>
73-
{% endif %}
74+
{% endif %}

0 commit comments

Comments
 (0)