ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filamentโ€ข2y agoโ€ข
48 replies
Arshavir

Many-to-Many relationship - get name from third table

Hi everyone, I'm new in Laravel/Filament ๐Ÿ‘€ So maybe my question is very trivial.
So I have subjects and courses tables, which have many-to-many relationship (there is a course_subject pivot table). In course table there is an another foreign key - department_id.

I want to on Subject resource page on Select and Column Field get course with Department name from departments table. On second pic 1, 2 are courses: But I want to show like Department name + Course name.

Thanks
image.png
image.png
image.png
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

Many-to-Many relationship Filament Table Builder V2
FilamentFFilament / โ“โ”Šhelp
2y ago
many to many relationship
FilamentFFilament / โ“โ”Šhelp
16mo ago
Relationship many to many
FilamentFFilament / โ“โ”Šhelp
2y ago
Many to many Relationship
FilamentFFilament / โ“โ”Šhelp
3y ago