Order table by his relationship

I have a table with a relationship Like Member -> Subscription (valid_until) i want to order the table by the subscription.valid_until by default, so the admin can see which subscription will end sooner
Solution:
Thats my first join, but seem like it works! thanks
No description
Jump to solution
2 Replies
Dennis Koch
Dennis Koch8mo ago
I guess you need a join on that table
Solution
FerVillanuev4s
FerVillanuev4s8mo ago
Thats my first join, but seem like it works! thanks
No description
Want results from more Discord servers?
Add your server
More Posts
Retrieve ID of selected child from related tableHello everyone, I can't retrieve the id of the table related to the Resource, is there any way? Ex:Pass value from Modal form to Action on list pageI have a form modal on a list page triggered from a header action (not a table row action). How doRender custom calculated field in a formI have a form which takes some inputs and based on that inputs (number of persons) I need to calculaCan I use the scaffold option on a fresh Breeze application?Reading the Filament documentation, it says I can use this command to install and scaffold on a fresUpload attachmentI'm trying to implement a image upload for attachment all seems ok, the name of the file is saved inCustom theme for a livewire component using a filament resource tableSo I used a filament table to populate a livewire component and I'm trying to get it to display a cuIs it possible to hide edit/delete buttons from table on mobile only lets say only cellphones ?I tried visibleFrom() or hiddenFrom() methods but they do not exist or visibleOn() .. Any advice pleAdd Searchable() to a form select, hide the listHi! I'm trying to implement a select with a relationship all it's ok (very simple) but when i add thhow to load relationship() on Forms\Components\Fieldset conditionally?The form uses `Forms\Components\Fieldset::relationship('primaryAddress')` to load a related 'addresswhere can I set the redirect url after user logout?when user logouts from the user menu in filament v3 dashboard it redirects the user to `/admin/login