Many to Many Relation #407
Unanswered
businessdotkom2020
asked this question in
Q&A
Replies: 1 comment
-
Hello. have you tried this?. if it doesn't work I believe you should use join https://livewire-powergrid.com/#/table/column-filters?id=filter-by-relationship |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Can I Filter Using Many to Many Relations
I have used
`
->addColumn('owners', function (Vehicle $model) {
$tags = '';
foreach ($model->owners as $owner) {
$tags .= "$owner->name ";
}
`
to get data but can I filter By Name Here
Beta Was this translation helpful? Give feedback.
All reactions