Replies: 1 comment 2 replies
-
@rappasoft Can you please help me to solve this? |
Beta Was this translation helpful? Give feedback.
2 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.
-
Hi guys,
i am using Laravel 8 with "rappasoft/laravel-livewire-tables": "^0.3".
What I have are three models: League, Country, and CountryTranslation.
What I want is to list all Leagues and to be able to search for the country name, which is in the CountryTranslation model.
League Model:
Country Model:
Livewire Table:
I am joining the tables in the searchable() function, but when I check the debugbar I get only:
select * from
leagueswhere
sport_id= '1' and (
leagues.
idlike '%argen%' or
leagues.
namelike '%argen%') order by
idasc limit 25 offset 0
How can I resolve that?
Beta Was this translation helpful? Give feedback.
All reactions