specific season: fixes an issue where an empty list is returned for future anime

This commit is contained in:
Irfan 2023-06-11 05:57:47 +05:00
parent 5231362543
commit 1720d7aabb

View File

@ -26,7 +26,8 @@ final class QuerySpecificAnimeSeasonHandler extends QueryAnimeSeasonHandlerBase
*/
[$from, $to] = $this->getSeasonRange($request->year, $request->season);
return $this->repository->getAiredBetween($from, $to, $type)
->where("status", "!=", AnimeStatusEnum::upcoming()->label);
return $this->repository->getAiredBetween($from, $to, $type);
// ->where("status", "!=", AnimeStatusEnum::upcoming()->label);
}
}