Skip to content

Commit

Permalink
Update app/Http/Controllers/Dashboard/FieldController.php
Browse files Browse the repository at this point in the history
Co-authored-by: Krzysztof Rewak <krzysztof.rewak@blumilk.pl>
  • Loading branch information
kamilpiech97 and krzysztofrewak authored Sep 29, 2023
1 parent 9d80dcb commit 9666c85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Dashboard/FieldController.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class FieldController extends Controller
public function index(): Response
{
$fields = Field::query()
->orderByDesc("created_at")
->orderByDesc("abbreviation")
->get();

return inertia("Dashboard/Field/Index", [
Expand Down

0 comments on commit 9666c85

Please sign in to comment.