When showing all annotations in browser order newest to oldest

This commit is contained in:
Kovid Goyal 2020-07-15 21:07:13 +05:30
parent 5db444644f
commit 62da3d119e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1844,7 +1844,7 @@ class DB(object):
if annotation_type:
data.append(annotation_type)
q += ' annot_type = ? '
q += ' ORDER BY timestamp'
q += ' ORDER BY timestamp DESC '
count = 0
for (rowid, book_id, fmt, user_type, user, annot_data) in self.execute(q, tuple(data)):
try: