I can't still remember what ASC and DESC means
This commit is contained in:
parent
7420e6a130
commit
15ead12683
@ -168,7 +168,7 @@ class SQLite(Abstract):
|
|||||||
|
|
||||||
def recent(self, mode=7, limit=None):
|
def recent(self, mode=7, limit=None):
|
||||||
|
|
||||||
sql = 'SELECT * FROM comments WHERE (? | mode) = ? ORDER BY created ASC'
|
sql = 'SELECT * FROM comments WHERE (? | mode) = ? ORDER BY created DESC'
|
||||||
args = [mode, mode]
|
args = [mode, mode]
|
||||||
|
|
||||||
if limit:
|
if limit:
|
||||||
|
Loading…
Reference in New Issue
Block a user