mirror of https://gitlab.com/bashrc2/epicyon
Search on first post
parent
e40115e7d1
commit
09396e1df3
4
posts.py
4
posts.py
|
@ -4051,7 +4051,9 @@ def _create_box_indexed(recent_posts_cache: {},
|
|||
continue
|
||||
|
||||
# Skip through any posts previous to the current page
|
||||
if total_posts_count < int((page_number - 1) * items_per_page):
|
||||
if not first_post_id:
|
||||
if total_posts_count < \
|
||||
int((page_number - 1) * items_per_page):
|
||||
total_posts_count += 1
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in New Issue