diff --git a/src/Twig/Components/TvEpisodeList.php b/src/Twig/Components/TvEpisodeList.php index 43cc60a..33ff44f 100644 --- a/src/Twig/Components/TvEpisodeList.php +++ b/src/Twig/Components/TvEpisodeList.php @@ -10,7 +10,7 @@ use Symfony\UX\LiveComponent\Attribute\LiveProp; use Symfony\UX\LiveComponent\DefaultActionTrait; #[AsLiveComponent] -final class TvEpisodeList +final class TvEpisodeList { use DefaultActionTrait; use PaginateTrait; diff --git a/templates/components/Filter.html.twig b/templates/components/Filter.html.twig index 345aae1..137083c 100644 --- a/templates/components/Filter.html.twig +++ b/templates/components/Filter.html.twig @@ -73,18 +73,15 @@ {{ stimulus_action('result_filter', 'setSeason', 'change') }} {{ stimulus_action('result_filter', 'uncheckSelectAllBtn', 'change') }} > - - {% for season in range(2, results.media.episodes|length) %} - + {% for season in range(1, results.media.episodes|length) %} + {% endfor %} - {# #} {% endif %}