© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
Filament
•
2y ago
•
5 replies
Matthew
getEloquentQuery() in the RelationManager
I don
't think that when a resource is being queried through a RelationManager
, it the query via
:
getEloquentQuery
getEloquentQuery
I
've tried placing the same method in the ResourceRelationsManager to no avail
.
Any ideas
?
Solution
This will work
.
`
`
`return
$table
-
>modifyQueryUsing
(fn
(Builder
$query
)
=
>
$query
-
>where
(
'is
_active
'
, true
)
)
-
>columns
(
[
/
/
.
.
.
]
)
;
Jump to solution
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
AttachAction in relationManager
F
Filament / ❓┊help
14mo ago
RelationManager in view
F
Filament / ❓┊help
2y ago
condition in relationManager
F
Filament / ❓┊help
3y ago
doubt with getEloquentQuery
F
Filament / ❓┊help
3y ago