#Please take a look at the following and help me to resolve it.
10 messages · Page 1 of 1 (latest)
I am good to go when I use just 1 level query, but when I use complex query with related tables, then the actions are not working properly...
when I check the network requests, whenever the event is occurred, the close-modal request is being sent.
Hmm, could be a naming issue. You named the view action 'test'. Can you try 'testAction' or giving it no name at all?
still same issue
public function scopeProperShorteners(Builder $query): Builder
{
return $query
->leftJoin('shortener_settings', function (JoinClause $join) {
$join
->on('shorteners.id', '=', 'shortener_settings.shortener_id')
->where('shortener_settings.user_id', Auth::user()->id);
})
->select('shorteners.*')
->selectRaw('COUNT(shortener_settings.id) as settings_count')
->groupBy('shorteners.id');
}
this is my query for the table
any action is not working in the table
😭