Skip to content
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

Fixed non string columns breaking model filter with collection driver #507

Merged
merged 2 commits into from
Aug 16, 2021
Merged

Fixed non string columns breaking model filter with collection driver #507

merged 2 commits into from
Aug 16, 2021

Conversation

jsandfordhughes
Copy link
Contributor

This fixes an issue with the collection driver, if you have a column which is not a string, like a JSON column, The collection driver errors when trying to make the attribute lower case.

I have added a continue if the attribute is not a string.

@taylorotwell taylorotwell merged commit d71d7d2 into laravel:9.x Aug 16, 2021
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.

2 participants