Browse Source

Fixes #1213: Corrected table header ordering links

Jeremy Stretch 8 years ago
parent
commit
d5587de316
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netbox/templates/inc/table.html

+ 1 - 1
netbox/templates/inc/table.html

@@ -6,7 +6,7 @@
             <tr>
                 {% for column in table.columns %}
                     {% if column.orderable %}
-                        <th {{ column.attrs.th.as_html }}><a href="{% querystring page=column.order_by_alias.next %}">{{ column.header }}</a></th>
+                        <th {{ column.attrs.th.as_html }}><a href="{% querystring table.prefixed_order_by_field=column.order_by_alias.next %}">{{ column.header }}</a></th>
                     {% else %}
                         <th {{ column.attrs.th.as_html }}>{{ column.header }}</th>
                     {% endif %}