mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
Fix episode filtering not working if specifying no season
This commit is contained in:
parent
20f796f603
commit
5490243df8
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ impl UrlFilter {
|
||||||
|
|
||||||
if season < from_season || season > to_season {
|
if season < from_season || season > to_season {
|
||||||
false
|
false
|
||||||
} else if season == from_season {
|
} else if season == from_season || (f.from_season.is_none() && f.to_season.is_none()) {
|
||||||
episode >= from_episode && episode <= to_episode
|
episode >= from_episode && episode <= to_episode
|
||||||
} else {
|
} else {
|
||||||
true
|
true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue