Skip to content

Commit

Permalink
fix(new-structure): Drop custom ordering/Fix dots
Browse files Browse the repository at this point in the history
Drop custom ordering for translations
Fix dot-notation
  • Loading branch information
alexvenga committed Jul 7, 2023
1 parent 719f489 commit 8742bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Actions/ExportTranslationsAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8742bfc

Please sign in to comment.