#Please take a look at the following and help me to resolve it.

10 messages · Page 1 of 1 (latest)

fast talon
stone tartanBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

fast talon
#

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.

cloud remnant
fast talon
#

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

#

😭