From 9a735ef6e9cfd01b1b9e6f0b9a3cd625b6fc7d4a Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 2 Oct 2019 22:15:32 +0200 Subject: [PATCH] Bugfix --- migdal/templates/migdal/entry/entry_list.html | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/migdal/templates/migdal/entry/entry_list.html b/migdal/templates/migdal/entry/entry_list.html index e07bb76..0f0d3e2 100644 --- a/migdal/templates/migdal/entry/entry_list.html +++ b/migdal/templates/migdal/entry/entry_list.html @@ -17,7 +17,7 @@ {% autopaginate object_list 10 as page %} -{% if object_list.promobox and page.number == 1 %} +{% if object_list.promobox and page_obj.number == 1 %}