mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-1134] Shared Files - get user preference sorting (#191)
This commit is contained in:
committed by
Denys Vuika
parent
5fb55afeb2
commit
0d727a5ffd
@@ -52,8 +52,8 @@ export class SharedFilesComponent extends PageComponent implements OnInit, OnDes
|
|||||||
preferences: UserPreferencesService) {
|
preferences: UserPreferencesService) {
|
||||||
super(preferences);
|
super(preferences);
|
||||||
|
|
||||||
const sortingKey = preferences.get('shared.sorting.key') || 'modifiedAt';
|
const sortingKey = preferences.get('shared-files.sorting.key') || 'modifiedAt';
|
||||||
const sortingDirection = preferences.get('shared.sorting.direction') || 'desc';
|
const sortingDirection = preferences.get('shared-files.sorting.direction') || 'desc';
|
||||||
|
|
||||||
this.sorting = [sortingKey, sortingDirection];
|
this.sorting = [sortingKey, sortingDirection];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user