© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
z33ro_

customize the query for repeatable entries

i am currently creating an infolist view page with the following information:
1. The book information
2. The current people who has borrowed the book.

In my situation, i want to display a repeatable entry in 2nd option but it always returns all of the data from the relationship i have created. Is there any way to modify the query that is being used to get all the data from the relationship?

For ex.:
  RepeatableEntry::make(borrows)
    ->relationshipQuery(fn (Builder $query) => $query->where('return_status', 'pending'))
  RepeatableEntry::make(borrows)
    ->relationshipQuery(fn (Builder $query) => $query->where('return_status', 'pending'))
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

Sorting Repeatable Entries on Infolists
FilamentFFilament / ❓┊help
2y ago
Customize attach search query
FilamentFFilament / ❓┊help
2y ago
repeatable entry
FilamentFFilament / ❓┊help
13mo ago
repeatable entry
FilamentFFilament / ❓┊help
2y ago