From 4de98507f29b35b74cb7baea207a5b66a21aaf41 Mon Sep 17 00:00:00 2001 From: Alhaziel Date: Mon, 8 Jul 2019 18:52:51 +0200 Subject: [PATCH] pagination fix --- core/support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/support.py b/core/support.py index 4ba70a24..6f066abd 100644 --- a/core/support.py +++ b/core/support.py @@ -554,7 +554,7 @@ def nextPage(itemlist, item, data='', patron='', function_level=1, next_page='', return itemlist def pagination(itemlist, item, page, perpage, function_level=1): - if len(itemlist) >= page * perpage: + if len(itemlist) >= perpage: # page * perpage itemlist.append( Item(channel=item.channel, action=inspect.stack()[function_level][3],