Descending order

merge-requests/21/head
Bob Mottram 2021-03-12 18:18:24 +00:00
parent d2e6405015
commit 7c168a0928
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ def _showLocalBox(boxName: str, startPostIndex=0, noOfPosts=10) -> None:
index.append(f) index.append(f)
break break
maxPostIndex = len(index) maxPostIndex = len(index)
index.sort() index.sort(reverse=True)
for pos in range(startPostIndex, startPostIndex + noOfPosts): for pos in range(startPostIndex, startPostIndex + noOfPosts):
if pos >= maxPostIndex: if pos >= maxPostIndex:
break break