mirror of
https://github.com/evilhero/mylar
synced 2024-12-24 16:51:42 +00:00
FIX: Tweak the getUpcoming API method to work for the first 9 weeks of the year when alt_pull = 2
This commit is contained in:
parent
e53f822aa0
commit
6a7339a131
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class Api(object):
|
|||
self.data = self._dic_from_query(
|
||||
"SELECT w.COMIC AS ComicName, w.ISSUE AS IssueNumber, w.ComicID, w.IssueID, w.SHIPDATE AS IssueDate, w.STATUS AS Status, c.ComicName AS DisplayComicName \
|
||||
FROM weekly w JOIN comics c ON w.ComicID = c.ComicID WHERE w.COMIC IS NOT NULL AND w.ISSUE IS NOT NULL AND \
|
||||
w.weeknumber = strftime('%W', 'now') AND w.year = strftime('%Y', 'now') AND " + select_status_clause + " ORDER BY c.ComicSortName")
|
||||
substr('0' || w.weeknumber, -2) = strftime('%W', 'now') AND w.year = strftime('%Y', 'now') AND " + select_status_clause + " ORDER BY c.ComicSortName")
|
||||
return
|
||||
|
||||
def _getWanted(self, **kwargs):
|
||||
|
|
Loading…
Reference in a new issue