F
Filament7mo ago
player

How to search for several attributes in filters with relashionships

How to make filters/columns/inputs with a selector by relashionship, where you could show and filter not just one attribute, but several? For example, by email and name of the associated post
6 Replies
rajul
rajul7mo ago
can you eloborate your use case?
player
playerOP7mo ago
I have companies table and related tables (e.g. employees). Each employee has company_id field. So I want to show and filter by companies in the employee table, and use such fields like company_name, email, phone. I tried to make several filters at first, but it doesn't work such way with ->searchable() it gives errors
Povilas K
Povilas K7mo ago
It's hard to comment without seeing/debugg your full code
rajul
rajul7mo ago
It is not clear whether you are trying to create filter or select form field?
player
playerOP7mo ago
I wanna them all
Want results from more Discord servers?
Add your server