Revision 56059
Added by Argiro Kokogiannaki almost 5 years ago
searchOrps.component.ts | ||
---|---|---|
9 | 9 |
import {ErrorMessagesComponent} from '../../utils/errorMessages.component'; |
10 | 10 |
import {SearchFields, FieldDetails} from '../../utils/properties/searchFields'; |
11 | 11 |
import {SearchPageComponent } from '../searchUtils/searchPage.component'; |
12 |
import {SearchUtilsClass } from '../searchUtils/searchUtils.class';
|
|
12 |
import {SearchCustomFilter, SearchUtilsClass} from '../searchUtils/searchUtils.class';
|
|
13 | 13 |
import {DOI} from '../../utils/string-utils.class'; |
14 | 14 |
import{EnvProperties} from '../../utils/properties/env-properties'; |
15 | 15 |
|
... | ... | |
45 | 45 |
public baseUrl:string; |
46 | 46 |
@Input() openaireLink: string ; |
47 | 47 |
@Input() connectCommunityId: string; |
48 |
@Input() customFilter:SearchCustomFilter= null; |
|
48 | 49 |
@Input() advancedSearchParameters ; |
49 | 50 |
public searchUtils:SearchUtilsClass = new SearchUtilsClass(); |
50 | 51 |
private sub: any; |
... | ... | |
106 | 107 |
} |
107 | 108 |
|
108 | 109 |
this.searchPage.connectCommunityId = this.connectCommunityId; |
110 |
this.searchPage.customFilter = this.customFilter; |
|
109 | 111 |
var queryParameters = this.searchPage.getQueryParametersFromUrl(params); |
110 | 112 |
this._getResults(queryParameters, refine, this.searchUtils.page, this.searchUtils.size, this.searchUtils.sortBy); |
111 | 113 |
|
Also available in: Unified diff
[Library|Trunk]
Changes for Aggregator portal:
use a customFilter in search pages, and pass it through the components
for landing pages check if a route is available in order to add linking and deposit links