Closed irfan-dahir closed 11 months ago
@pushrbx
I would also add a new function maybe with the arguments you added, which wraps around getAiredBetween and adds the extra filters based on premiered, if it's possible to override the query builder that way. (haven't checked yet)
I tested this but getAiredBetween
returns with the orderBy query afterwards, so any added query does not work.
So I added premiered
as an argument for getAiredBetween
and it handles the logic inside it instead. Let me know if that works here?
Issue/Discussion: https://discord.com/channels/460491088004907029/1119461866322800662
There are a handful of entries like 52991 start on September 29th which is technically in the range of the summer season (which is why it returns in the results for summer 2023). However, it's officially listed under the Fall season in
premiered
.This PR attempts to resolve this issue by filtering down the results to
premiered
set to null)start_date
andend_date
(Existing behavior)