mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
When showing all annotations in browser order newest to oldest
This commit is contained in:
parent
5db444644f
commit
62da3d119e
@ -1844,7 +1844,7 @@ class DB(object):
|
|||||||
if annotation_type:
|
if annotation_type:
|
||||||
data.append(annotation_type)
|
data.append(annotation_type)
|
||||||
q += ' annot_type = ? '
|
q += ' annot_type = ? '
|
||||||
q += ' ORDER BY timestamp'
|
q += ' ORDER BY timestamp DESC '
|
||||||
count = 0
|
count = 0
|
||||||
for (rowid, book_id, fmt, user_type, user, annot_data) in self.execute(q, tuple(data)):
|
for (rowid, book_id, fmt, user_type, user, annot_data) in self.execute(q, tuple(data)):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user