Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix active page

michal1d6a78e3fedc
diff --git a/templates/dashboard/includes/_pagination.html b/templates/dashboard/includes/_pagination.html
index 95c29d75a4..89c3a92498 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 }}