mirror of
https://gh.llkk.cc/https://github.com/CaptainCore/captaincore-manager.git
synced 2025-10-03 14:04:44 +08:00
🐛 FIX: Sorting
This commit is contained in:
parent
d66b442ac1
commit
37b789b6a2
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class Recipes extends DB {
|
|||
unset( $recipe->created_at );
|
||||
$recipes[] = $recipe;
|
||||
}
|
||||
usort($recipes, function($a, $b) { return strcmp($a->name, $b->name); });
|
||||
usort($recipes, function($a, $b) { return strcmp($a->title, $b->title); });
|
||||
return $recipes;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue