mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 12:11:19 +00:00
Some improved sorting.
This commit is contained in:
@@ -50,7 +50,7 @@ class CategoryRepository extends ComponentRepository implements CategoryReposito
|
||||
$set = Auth::user()->categories()->orderBy('name', 'ASC')->get();
|
||||
$set = $set->sortBy(
|
||||
function (Category $category) {
|
||||
return $category->name;
|
||||
return strtolower($category->name);
|
||||
}
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user