diff --git a/src/Actions/ExportTranslationsAction.php b/src/Actions/ExportTranslationsAction.php index 1556e7c..d63d9f5 100644 --- a/src/Actions/ExportTranslationsAction.php +++ b/src/Actions/ExportTranslationsAction.php @@ -24,7 +24,7 @@ public function handle(): RedirectResponse 'root' => lang_path(), ]); - $translations = MoonshineLaravelTranslation::orderBy('group, key')->get(); + $translations = MoonshineLaravelTranslation::orderByRaw('`group`, `key`')->get(); $translations = $translations->mapWithKeys(function ( MoonshineLaravelTranslation $moonshineLaravelTranslation,