Page 1 of the timeline always shows latest posts

merge-requests/30/head
Bob Mottram 2022-12-28 14:28:54 +00:00
parent 441459ce7e
commit 7b15a927b3
1 changed files with 3 additions and 2 deletions

View File

@ -927,8 +927,9 @@ def html_timeline(default_timeline: str,
page_number_buttons(users_path, box_name, page_number,
'timelineposts')
first_post_str = ''
if last_post_id:
first_post_str = ';firstpost=' + last_post_id
if page_number > 2:
if last_post_id:
first_post_str = ';firstpost=' + last_post_id
tl_str += \
' <center>\n' + \
' <a href="' + users_path + '/' + box_name + \