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
When using the default searchable, I'm getting the error "Unknown column 'phone' in 'where clause'" when doing the search.
How to reproduce the bug
Make a table with a phone but name the relevant column differenty (phones, numeros... etc)
Use the Cheesegrits\FilamentPhoneNumbers\Columns\PhoneNumberColumn on the resource, with the default searchable()
Try to search a number.
Bug
Package Version
1.02
PHP Version
8.2.12
Laravel Version
10.33
Which operating systems does with happen with?
No response
Notes
This is because on Cheesegrits\FilamentPhoneNumbers\Columns\PhoneNumberColumn when searching, it assumes that the column name is "phone", which isn't my case, so the library needs to get the column name on make() instead of using plain "phone"
The text was updated successfully, but these errors were encountered:
What happened?
When using the default searchable, I'm getting the error "Unknown column 'phone' in 'where clause'" when doing the search.
How to reproduce the bug
Package Version
1.02
PHP Version
8.2.12
Laravel Version
10.33
Which operating systems does with happen with?
No response
Notes
This is because on Cheesegrits\FilamentPhoneNumbers\Columns\PhoneNumberColumn when searching, it assumes that the column name is "phone", which isn't my case, so the library needs to get the column name on make() instead of using plain "phone"
The text was updated successfully, but these errors were encountered: