One post overlap

main
Bob Mottram 2022-12-26 17:12:35 +00:00
parent 2d05e184eb
commit b22c8c6531
1 changed files with 2 additions and 4 deletions

View File

@ -4028,10 +4028,8 @@ def _create_box_items(base_dir: str,
if first_post_id and total_posts_count == 0: if first_post_id and total_posts_count == 0:
if first_post_id not in post_filename: if first_post_id not in post_filename:
continue continue
if first_post_id in post_filename: total_posts_count = \
total_posts_count = \ int((page_number - 1) * items_per_page)
int((page_number - 1) * items_per_page)
continue
# Has this post passed through the newswire voting stage? # Has this post passed through the newswire voting stage?
if not _passed_newswire_voting(newswire_votes_threshold, if not _passed_newswire_voting(newswire_votes_threshold,