mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-07 23:03:00 +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
|
||||
|
@@ -47,6 +47,7 @@ class LocaleManager
|
||||
'ja' => 'ja',
|
||||
'ka' => 'ka_GE',
|
||||
'ko' => 'ko_KR',
|
||||
'ku' => 'ku_TR',
|
||||
'lt' => 'lt_LT',
|
||||
'lv' => 'lv_LV',
|
||||
'nb' => 'nb_NO',
|
||||
|
Reference in New Issue
Block a user