mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-26 23:56:16 +01:00
Stanza feed: Show newly added books first
This commit is contained in:
parent
7320da0788
commit
c59bfefc59
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ def stanza(self, search=None):
|
|||
'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…
Reference in a new issue