forked from indymedia/epicyon
Handle paging of inbox and outbox
parent
70a9fb0929
commit
72867fd7bc
2
posts.py
2
posts.py
|
@ -1903,7 +1903,7 @@ def createBoxBase(baseDir: str,boxname: str, \
|
||||||
if postsOnPageCtr >= itemsPerPage:
|
if postsOnPageCtr >= itemsPerPage:
|
||||||
break
|
break
|
||||||
# count the pages
|
# count the pages
|
||||||
if isTimelinePost:
|
if isTimelinePost or boxname=='inbox' or boxname=='outbox':
|
||||||
postsCtr += 1
|
postsCtr += 1
|
||||||
if postsCtr >= itemsPerPage:
|
if postsCtr >= itemsPerPage:
|
||||||
postsCtr = 0
|
postsCtr = 0
|
||||||
|
|
Loading…
Reference in New Issue