Revision 56059
Added by Argiro Kokogiannaki almost 5 years ago
advancedSearchDatasets.component.ts | ||
---|---|---|
8 | 8 |
import {ErrorMessagesComponent} from '../../utils/errorMessages.component'; |
9 | 9 |
import {AdvancedSearchPageComponent} from '../searchUtils/advancedSearchPage.component'; |
10 | 10 |
import {SearchFields, FieldDetails} from '../../utils/properties/searchFields'; |
11 |
import {SearchUtilsClass } from '../searchUtils/searchUtils.class';
|
|
11 |
import {SearchCustomFilter, SearchUtilsClass} from '../searchUtils/searchUtils.class';
|
|
12 | 12 |
import{EnvProperties} from '../../utils/properties/env-properties'; |
13 | 13 |
|
14 | 14 |
|
... | ... | |
38 | 38 |
properties:EnvProperties; |
39 | 39 |
@Input() piwikSiteId = null; |
40 | 40 |
@Input() connectCommunityId: string; |
41 |
@Input() customFilter:SearchCustomFilter= null; |
|
42 |
|
|
41 | 43 |
public results =[]; |
42 | 44 |
public filters =[]; |
43 | 45 |
|
... | ... | |
100 | 102 |
this.searchPage.selectedFields = this.selectedFields; |
101 | 103 |
this.searchPage.fieldIdsMap = this.fieldIdsMap; |
102 | 104 |
this.searchPage.connectCommunityId = this.connectCommunityId; |
105 |
this.searchPage.customFilter = this.customFilter; |
|
103 | 106 |
this.searchPage.getSelectedFiltersFromUrl(params); |
104 | 107 |
this.getResults(this.searchPage.createQueryParameters(), this.searchUtils.page, this.searchUtils.size, this.searchUtils.sortBy); |
105 | 108 |
|
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