You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for some great Laravel practice projects! One quick bug I noticed is in the book review project when we add the withAvgRating and withReviewsCount scope, the previous Popular and HighestRated scopes are not passing along the $from and $to date values so the project's last month / last 6 months filtering breaks.
Suggested update below passes the $from and $to variables through:
Hi,
Thanks for some great Laravel practice projects! One quick bug I noticed is in the book review project when we add the withAvgRating and withReviewsCount scope, the previous Popular and HighestRated scopes are not passing along the $from and $to date values so the project's last month / last 6 months filtering breaks.
Suggested update below passes the $from and $to variables through:
Let me know if you'd prefer me to submit a PR for this - wasn't sure what you'd prefer.
The text was updated successfully, but these errors were encountered: