Set bookmarks timeline on posts

main
Bob Mottram 2019-11-17 14:53:56 +00:00
parent c8291d0af5
commit 85d1047fd1
1 changed files with 3 additions and 0 deletions

View File

@ -1896,6 +1896,9 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
loadIndividualPostAsHtmlFromCache(baseDir,nickname,domain, \
postJsonObject)
if postHtml:
# if on the bookmarks timeline then remain there
if boxName=='tlbookmarks':
postHtml=postHtml.replace('?tl=inbox','?tl=tlbookmarks')
return postHtml.replace(';-999;',';'+str(pageNumber)+';').replace('?page=-999','?page='+str(pageNumber))
# don't create new html within the bookmarks timeline