mirror of https://gitlab.com/bashrc2/epicyon
Descending order
parent
d2e6405015
commit
7c168a0928
|
@ -294,7 +294,7 @@ def _showLocalBox(boxName: str, startPostIndex=0, noOfPosts=10) -> None:
|
|||
index.append(f)
|
||||
break
|
||||
maxPostIndex = len(index)
|
||||
index.sort()
|
||||
index.sort(reverse=True)
|
||||
for pos in range(startPostIndex, startPostIndex + noOfPosts):
|
||||
if pos >= maxPostIndex:
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue