Tiny OPDS fix (Not showing non-post-processed issues in Recent)

This commit is contained in:
evilhero 2017-11-24 00:13:32 -05:00
parent 3ac494222f
commit 6754ad0b8b
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ class OPDS(object):
myDB = db.DBConnection()
links = []
entries=[]
recents = self._dic_from_query('SELECT * from snatched WHERE Status = "Post-Processed" order by DateAdded DESC LIMIT 120')
recents = self._dic_from_query('SELECT * from snatched WHERE Status = "Post-Processed" OR Status = "Downloaded" order by DateAdded DESC LIMIT 120')
if index <= len(recents):
number = 1
subset = recents[index:(index+self.PAGE_SIZE)]