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):
|
||||
|
||||
sql = 'SELECT * FROM comments WHERE (? | mode) = ? ORDER BY created ASC'
|
||||
sql = 'SELECT * FROM comments WHERE (? | mode) = ? ORDER BY created DESC'
|
||||
args = [mode, mode]
|
||||
|
||||
if limit:
|
||||
|
Loading…
Reference in New Issue
Block a user