© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
DanielvdSpoel

Relation column search

I have the following column:
        Tables\Columns\TextColumn::make('person.full_name')
                    ->searchable(['person.first_name', 'person.last_name'])
                    ->label(__('labels.name'))
                    ->sortable(),
        Tables\Columns\TextColumn::make('person.full_name')
                    ->searchable(['person.first_name', 'person.last_name'])
                    ->label(__('labels.name'))
                    ->sortable(),

I know this is propably a bit of a stretch, but i would like this to work, instead i'm getting this error:
https://flareapp.io/share/dPbWEeX7
Flare
SQLSTATE[42P01]: Undefined table: 7 ERROR: missing FROM-clause entry for table "person"
LINE 1: ... "children"."person_id" = "people"."id" and lower(person.fir...
^ (Connection: pgsql, SQL: select count(*) as aggregate from "children" where (exists (select * from "people" where "child...
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

searching relation column in table search in filament 3
FilamentFFilament / ❓┊help
2y ago
table column searchable() search on pressing enter
FilamentFFilament / ❓┊help
3y ago
filter table column relation
FilamentFFilament / ❓┊help
3y ago
Text Input Column Update hasMany relation column
FilamentFFilament / ❓┊help
2y ago