[develop | DONE | ADDED]: searchSorting.component.ts: Added sorting options by impact-based indicatos in PRODUCTION as well.
This commit is contained in:
parent
4155027e87
commit
1f872d2beb
|
@ -20,8 +20,7 @@ export class SearchSortingComponent {
|
||||||
@Input() entityType: string = '';
|
@Input() entityType: string = '';
|
||||||
@Output() sortByChange = new EventEmitter();
|
@Output() sortByChange = new EventEmitter();
|
||||||
public options: Option[];
|
public options: Option[];
|
||||||
private generalOptions = properties.environment != "production" ?
|
private generalOptions = [
|
||||||
[
|
|
||||||
{value: '', label: 'Relevance'},
|
{value: '', label: 'Relevance'},
|
||||||
{value: 'resultdateofacceptance,descending', label: 'Date (most recent)'},
|
{value: 'resultdateofacceptance,descending', label: 'Date (most recent)'},
|
||||||
{value: 'resultdateofacceptance,ascending', label: 'Date (least recent)'},
|
{value: 'resultdateofacceptance,ascending', label: 'Date (least recent)'},
|
||||||
|
@ -29,11 +28,6 @@ export class SearchSortingComponent {
|
||||||
{value: 'popularity,descending', label: 'Popularity'},
|
{value: 'popularity,descending', label: 'Popularity'},
|
||||||
{value: 'influence,descending', label: 'Influence'},
|
{value: 'influence,descending', label: 'Influence'},
|
||||||
{value: 'impulse,descending', label: 'Impulse'}
|
{value: 'impulse,descending', label: 'Impulse'}
|
||||||
] :
|
|
||||||
[
|
|
||||||
{value: '', label: 'Relevance'},
|
|
||||||
{value: 'resultdateofacceptance,descending', label: 'Date (most recent)'},
|
|
||||||
{value: 'resultdateofacceptance,ascending', label: 'Date (least recent)'}
|
|
||||||
];
|
];
|
||||||
private communityOptions = [
|
private communityOptions = [
|
||||||
{value: '', label: 'Title'},
|
{value: '', label: 'Title'},
|
||||||
|
|
Loading…
Reference in New Issue