mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Testing: Fixed issues during pre-release testing
- Updated locale list - Fixed new name sorting not being case insensitive - Updated license test to account for changed deps
This commit is contained in:
@ -13,12 +13,12 @@ class SortSetOperationComparisons
|
||||
{
|
||||
public static function nameAsc(Entity $a, Entity $b): int
|
||||
{
|
||||
return $a->name <=> $b->name;
|
||||
return strtolower($a->name) <=> strtolower($b->name);
|
||||
}
|
||||
|
||||
public static function nameDesc(Entity $a, Entity $b): int
|
||||
{
|
||||
return $b->name <=> $a->name;
|
||||
return strtolower($b->name) <=> strtolower($a->name);
|
||||
}
|
||||
|
||||
public static function nameNumericAsc(Entity $a, Entity $b): int
|
||||
|
Reference in New Issue
Block a user