I can't still remember what ASC and DESC means

This commit is contained in:
posativ 2012-10-24 20:38:39 +02:00
parent 7420e6a130
commit 15ead12683

View File

@ -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: