-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
firstAirDateYear() sent as year, not first_air_date_year #27
Comments
I'll get back to you tomorrow or Thursday, sorry my schedule is quite full lately! :-) if you could possibly make a pull request if your sure I'll merge it in no time when I have a chance to look at it! |
And thanks for reporting by the way =) |
Took a quick look at the docs and current code from my bed, and your absolutely right, I don't use all aspects of the api myself. If you could make a pull request that would be awesome, credits belong to you for finding that mistake. |
I have created a pull request now. hope it is correct, its my first pull request ever :P |
fixes #27 first_air_date_year in TvSearchQuery
It was absolutely fine :-), thanks! |
in \Tmdb\Model\Search\SearchQuery\TvSearchQuery()
this
$this->set('year', (int) $year);
should be
$this->set('first_air_date_year', (int) $year);
according to http://docs.themoviedb.apiary.io/#search and my own tests.
The text was updated successfully, but these errors were encountered: