Allow results to include comics in the following year fixes #638
This commit is contained in:
parent
6351afb36c
commit
5e6682566f
@ -413,7 +413,7 @@ class IssueIdentifier:
|
||||
|
||||
# remove any series that starts after the issue year
|
||||
if terms["year"] is not None and item.start_year is not None:
|
||||
if terms["year"] < item.start_year:
|
||||
if item.start_year > terms["year"] + 1:
|
||||
date_approved = False
|
||||
|
||||
for name in [item.name, *item.aliases]:
|
||||
|
@ -371,7 +371,7 @@ class ComicVineTalker(ComicTalker):
|
||||
|
||||
int_year = utils.xlate_int(year)
|
||||
if int_year is not None:
|
||||
flt += f",cover_date:{int_year}-1-1|{int_year + 1}-1-1"
|
||||
flt += f",cover_date:{int_year}-1-1|{int_year + 1}-12-31"
|
||||
|
||||
params: dict[str, str | int] = { # CV uses volume to mean series
|
||||
"api_key": self.api_key,
|
||||
|
Loading…
Reference in New Issue
Block a user