Skip to content

Feature: Allow filtering for multiple leagues#423

Open
sgurlt wants to merge 1 commit into
ThemeBoy:masterfrom
sgurlt:feature-multiple-calendar-leagues
Open

Feature: Allow filtering for multiple leagues#423
sgurlt wants to merge 1 commit into
ThemeBoy:masterfrom
sgurlt:feature-multiple-calendar-leagues

Conversation

@sgurlt

@sgurlt sgurlt commented Nov 22, 2021

Copy link
Copy Markdown

Within my custom theme, I would like to be able to get data from the calendar for one, or multiple leagues.
At the Moment this is not possible due to the fact that the handled $this->league variable, always gets casted into an array.

To be able to handle one or multiple values, I would like to add a check if the handed in data is already an array, or not.

This might also be useful for seasons and venues, but is currently outside the scope of my project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant