© 2026 Hedgehog Software, LLC

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

RelationManager getTableQuery() returns null

It is not documented in the upgrade v2 -> v3 section but I'm trying to customise the table query for a relation manager. Previously I used to override the getTableQuery() by adding methods to parent::getTableQuery() but in v3 that function returns a hard coded null.

So how do I customise the relation manager now?
Thanks!
Solution
https://filamentphp.com/docs/3.x/panels/resources/relation-managers/#customizing-the-relation-manager-eloquent-query
Managing relationships - Panel Builder - Filament
Jump to solution
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

getMountedTableActionRecord() returns null in RelationManager (EditAction)
FilamentFFilament / ❓┊help
7mo ago
RelationManager - getTableQuery() - doesn't apple a HasOne relation
FilamentFFilament / ❓┊help
3y ago
getTenant() returns NULL
FilamentFFilament / ❓┊help
2y ago