Skip to content

Commit

Permalink
feat: sort closet by desc (#412)
Browse files Browse the repository at this point in the history
for consistency with skinlib
  • Loading branch information
graytoowolf authored Jun 3, 2022
1 parent 205f89b commit 663d912
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/ClosetController.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public function getClosetData(Request $request)
$request->input('q'),
fn (Builder $query, $search) => $query->like('item_name', $search)
)
->orderBy('texture_tid', 'DESC')
->paginate((int) $request->input('perPage', 6));
}

Expand Down

0 comments on commit 663d912

Please sign in to comment.