diff --git a/CHANGELOG.md b/CHANGELOG.md index e98abd35e4..3c3d62ec20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fixed the duplicate data point of today in the chart of the holding detail dialog +- Fixed the case-insensitive sorting in the platform management of the admin control panel +- Fixed the case-insensitive sorting in the tag management of the admin control panel ## 3.100.0 - 2026-11-15 diff --git a/apps/client/src/app/components/admin-platform/admin-platform.component.ts b/apps/client/src/app/components/admin-platform/admin-platform.component.ts index cd5341142f..5f941770fa 100644 --- a/apps/client/src/app/components/admin-platform/admin-platform.component.ts +++ b/apps/client/src/app/components/admin-platform/admin-platform.component.ts @@ -167,8 +167,8 @@ export class GfAdminPlatformComponent implements OnInit { this.dataSource = new MatTableDataSource(platforms); this.dataSource.paginator = this.paginator(); - this.dataSource.sort = this.sort(); this.dataSource.sortingDataAccessor = getLowercase; + this.dataSource.sort = this.sort(); this.dataService.updateInfo(); diff --git a/apps/client/src/app/components/admin-tag/admin-tag.component.ts b/apps/client/src/app/components/admin-tag/admin-tag.component.ts index 2481c7202a..a05180ed57 100644 --- a/apps/client/src/app/components/admin-tag/admin-tag.component.ts +++ b/apps/client/src/app/components/admin-tag/admin-tag.component.ts @@ -178,7 +178,6 @@ export class GfAdminTagComponent implements OnInit { this.dataSource = new MatTableDataSource(this.tags); this.dataSource.paginator = this.paginator(); - this.dataSource.sort = this.sort(); this.dataSource.sortingDataAccessor = (tag, path) => { if (path === 'name') { @@ -190,6 +189,8 @@ export class GfAdminTagComponent implements OnInit { return getLowercase(tag, path) as number | string; }; + this.dataSource.sort = this.sort(); + this.dataService.updateInfo(); this.isLoading = false;