Append querystring parameters within the order status to the order list URL on order statistics page in the dashboard.
{% extends 'dashboard/layout.html' %}
{% load currency_filters %}
{% load i18n %}
+{% load django_tables2 %}
{% block body_class %}{{ block.super }} orders{% endblock %}
</tr>
{% for dict in order_status_breakdown %}
<tr>
- <td><a href="{% url 'dashboard:order-list' %}?order_status={{ dict.status }}">{{ dict.status }}</a></td>
+ <td><a href="{% url 'dashboard:order-list' %}{% querystring 'status'=dict.status %}">{{ dict.status }}</a></td>
<td>{{ dict.freq }}</td>
</tr>
{% endfor %}
