[ACA-3542] Fix Filter sorting initialization (#6018)

This commit is contained in:
davidcanonieto 2020-08-17 15:02:47 +01:00 committed by GitHub
parent 7cfb95da9d
commit 0e8b28dc49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -56,7 +56,7 @@
"APP_LAYOUT": { "APP_LAYOUT": {
"APP": "App", "APP": "App",
"APP_NAME": "ADF Demo Application", "APP_NAME": "ADF Demo Application",
"FILTERED_SEARCH": "FILTER HEADER", "FILTERED_SEARCH": "Filter Header",
"HOME": "Home", "HOME": "Home",
"NODE-SELECTOR": "Node Selector", "NODE-SELECTOR": "Node Selector",
"SITES": "Sites", "SITES": "Sites",

View File

@ -215,7 +215,6 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
enableMediumTimeFormat = false; enableMediumTimeFormat = false;
displayEmptyMetadata = false; displayEmptyMetadata = false;
hyperlinkNavigation = false; hyperlinkNavigation = false;
filteredSorting: string[] = null;
constructor(private notificationService: NotificationService, constructor(private notificationService: NotificationService,
private uploadService: UploadService, private uploadService: UploadService,

View File

@ -30,7 +30,7 @@ export class FilteredSearchComponent {
currentFolderId = '-my-'; currentFolderId = '-my-';
queryParams = null; queryParams = null;
filterSorting = null; filterSorting: string = 'name-asc';
constructor(@Optional() private route: ActivatedRoute) { constructor(@Optional() private route: ActivatedRoute) {