Table Search search over a field who doesn't exist now, but exists before.
This model had the field display, but it was moved to other model, now the search is searching over this field.
9 Replies
Did you update the column in your resource table?
the column doesn't exist in the $table->columns
maybe something "cached" in somewhere?
Strange... yeah, I'm not sure. Can you try
php artisan optimize:clear
I did it too many times
Is this a table search or a global search?
table search, the search over the table next to filters
Hello?
from your code the
display
still exist in the relations
and they all searchable!!!
maybe remove them or set the searchable columns!
->searchable('someOtherColumn')