Astrotomic / laravel-translatable

A Laravel package for multilingual models
https://docs.astrotomic.info/laravel-translatable/
MIT License
1.23k stars 156 forks source link

i want return updated_at translations #265

Closed vahidalvandi closed 2 years ago

vahidalvandi commented 2 years ago

i want to retrun ->orderBy('updated_at', 'desc') and ->select('updated_at') from page_translations

            $page = page::whereHas('translations', function ($query) use ($localeCode) {
                $query->where('locale', $localeCode);
            })->orderBy('updated_at', 'desc')
                ->first();
github-actions[bot] commented 2 years ago

This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days