aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormichal <michal.sipa@mirumee.com>2017-09-21 09:37:52 +0200
committermichal <michal.sipa@mirumee.com>2017-09-29 08:49:00 +0200
commit1d6a78e3fedc8cc1ce83bd86a5c17dff09b21fae (patch)
tree65a7251ad73d359b597c97e1a233a4e9874a441a /templates
parente130129f9ffa6acc5e170d0d9d924ae9bc06a1b8 (diff)
downloadsaleor-frontend-1d6a78e3fedc8cc1ce83bd86a5c17dff09b21fae.tar.gz
saleor-frontend-1d6a78e3fedc8cc1ce83bd86a5c17dff09b21fae.tar.bz2
saleor-frontend-1d6a78e3fedc8cc1ce83bd86a5c17dff09b21fae.zip
Fix active page
Fix highlights for active page in pagination.
Diffstat (limited to 'templates')
-rw-r--r--templates/dashboard/includes/_pagination.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/dashboard/includes/_pagination.html b/templates/dashboard/includes/_pagination.html
index 95c29d75..89c3a924 100644
--- a/templates/dashboard/includes/_pagination.html
+++ b/templates/dashboard/includes/_pagination.html
@@ -23,7 +23,7 @@
{% endif %}
</li>
{% for page in page_obj.paginator.page_range %}
- {% if page_obj == page %}
+ {% if page_obj.number == page %}
<li class="active">
<a href="{% construct_get_query page=page %}">
{{ page }}