summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/patchwork/patch-list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/patchwork/patch-list.html b/templates/patchwork/patch-list.html
index 770f005..723c4a0 100644
--- a/templates/patchwork/patch-list.html
+++ b/templates/patchwork/patch-list.html
@@ -134,7 +134,7 @@
</tr>
</thead>
-{% if page %}
+{% if page.paginator.count %}
<tbody>
{% for patch in page.object_list %}
<tr id="patch_row:{{patch.id}}" class="{% cycle 'odd' 'even' %}">