diff --git a/searchPages/searchUtils/searchSorting.component.ts b/searchPages/searchUtils/searchSorting.component.ts index e75e3930..88afac19 100644 --- a/searchPages/searchUtils/searchSorting.component.ts +++ b/searchPages/searchUtils/searchSorting.component.ts @@ -20,8 +20,7 @@ export class SearchSortingComponent { @Input() entityType: string = ''; @Output() sortByChange = new EventEmitter(); public options: Option[]; - private generalOptions = properties.environment != "production" ? - [ + private generalOptions = [ {value: '', label: 'Relevance'}, {value: 'resultdateofacceptance,descending', label: 'Date (most recent)'}, {value: 'resultdateofacceptance,ascending', label: 'Date (least recent)'}, @@ -29,11 +28,6 @@ export class SearchSortingComponent { {value: 'popularity,descending', label: 'Popularity'}, {value: 'influence,descending', label: 'Influence'}, {value: 'impulse,descending', label: 'Impulse'} - ] : - [ - {value: '', label: 'Relevance'}, - {value: 'resultdateofacceptance,descending', label: 'Date (most recent)'}, - {value: 'resultdateofacceptance,ascending', label: 'Date (least recent)'} ]; private communityOptions = [ {value: '', label: 'Title'}, diff --git a/utils/modal/alert.ts b/utils/modal/alert.ts index b6458d79..f79f0e18 100644 --- a/utils/modal/alert.ts +++ b/utils/modal/alert.ts @@ -31,15 +31,15 @@ declare var UIkit: any;