Skip to content

Commit

Permalink
fix: Issues with default sort (disabled for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
CS76 committed Jan 12, 2024
1 parent c2bf8c6 commit 574b4f3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/Http/Controllers/API/DataController.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ public function all(Request $request, $model)
->where('is_public', true)
->allowedSorts($allowedSorts)
->allowedFilters($allowedFilters)
->defaultSort($defaultSort)
->paginate($per_page)
->appends(request()->query())
);
Expand All @@ -66,7 +65,6 @@ public function all(Request $request, $model)
->where('is_public', true)
->allowedSorts($allowedSorts)
->allowedFilters($allowedFilters)
->defaultSort($defaultSort)
->paginate($per_page)
->appends(request()->query())
);
Expand All @@ -76,7 +74,6 @@ public function all(Request $request, $model)
->where('is_public', true)
->allowedSorts($allowedSorts)
->allowedFilters($allowedFilters)
->defaultSort($defaultSort)
->paginate($per_page)
->appends(request()->query())
);
Expand Down

0 comments on commit 574b4f3

Please sign in to comment.