Filament Table's column search ( ->searchable() ) not working after removing laravel scout #18657
Unanswered
kaungsandev
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Package
Table builder
Package Version
v4.2.4
How can we help you?
The scenario is I installed the laravel/scout package according to their documentation, and I add
use Searchable traitto the Product model, and addpublic function toSearchableArray(): arrayas they described. that's all I do after scout installed. But my mind changed and don't want to use laravel/scout.Therefore, I remove the package using
composer remove, delete the scout config file, remove both toSearchableArray() function and trait from model.I didn't even touch the filament table itself from the start of installing scout.
The table simply use
TextColumn::make('name')->searchable(),which is working before installing scout. and now the search is not working.What make me mad is that this table search not working applied to the whole project, all my other resource models' table are not working their search function too.
What I tried,
php artisan optimize:clear php artisan view:clear php artisan config:clear php artisan route:clearDoes anyone have similar experience ? How can I solved that ?
Beta Was this translation helpful? Give feedback.
All reactions