1
0
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:
Dan Brown
2025-02-26 14:19:03 +00:00
parent 6211d6bcfc
commit 13dae24cbe
4 changed files with 38 additions and 3 deletions

View File

@ -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