diff --git a/src/app/components/shared-files/shared-files.component.ts b/src/app/components/shared-files/shared-files.component.ts index c77a57780..7db5f6808 100644 --- a/src/app/components/shared-files/shared-files.component.ts +++ b/src/app/components/shared-files/shared-files.component.ts @@ -52,8 +52,8 @@ export class SharedFilesComponent extends PageComponent implements OnInit, OnDes preferences: UserPreferencesService) { super(preferences); - const sortingKey = preferences.get('shared.sorting.key') || 'modifiedAt'; - const sortingDirection = preferences.get('shared.sorting.direction') || 'desc'; + const sortingKey = preferences.get('shared-files.sorting.key') || 'modifiedAt'; + const sortingDirection = preferences.get('shared-files.sorting.direction') || 'desc'; this.sorting = [sortingKey, sortingDirection]; }