From dfec56fef9d473605ae58c1c17c992915cf15b32 Mon Sep 17 00:00:00 2001 From: SDE Date: Wed, 29 Nov 2023 16:38:12 +0300 Subject: [PATCH] 0.7.90 articles paging --- ArticlesApp/funcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArticlesApp/funcs.py b/ArticlesApp/funcs.py index e1bbfc2..3331ecb 100644 --- a/ArticlesApp/funcs.py +++ b/ArticlesApp/funcs.py @@ -22,7 +22,7 @@ def get_articles(art_kwargs, request_Data=None, from_el=None, to_el=None): elif to_el: arts = arts[:to_el] else: - to_el = 3 + to_el = elements_on_page + 1 arts = arts[:to_el] last_block = False