mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Stanza feed: Show newly added books first
This commit is contained in:
parent
7320da0788
commit
c59bfefc59
@ -299,7 +299,7 @@ class LibraryServer(object):
|
||||
'Feeds to read calibre books on a ipod with stanza.'
|
||||
books = []
|
||||
ids = self.db.data.parse(search) if search and search.strip() else self.db.data.universal_set()
|
||||
for record in iter(self.db):
|
||||
for record in reversed(list(iter(self.db))):
|
||||
if record[0] not in ids: continue
|
||||
r = record[FIELD_MAP['formats']]
|
||||
r = r.upper() if r else ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user