Project

General

Profile

« Previous | Next » 

Revision 58259

[Library | Landing Redesign]:
1. fetchResearchResults.class.ts: 'getResultsForDataproviders()' & 'getAggregatorResults()', searchProjects.service.ts: 'getProjectsforDataProvider()', searchDataproviders.service.ts: 'getDataProvidersforEntityRegistry()':
in query parameters add exact id for 'collectedfromdatasourceid or resulthostingdatasourceid'.
2. searchResearchResults.service.ts: unused 'resultType' parameter removed from 'searchAggregators()'.
3. dataProviderInfo.ts: 'relatedDatasources' structure changed from:
Map<string, {"name": string, "countPublications": string, "countDatasets": string, "countSoftware": string, "countOrps": string}>;
to {"id": string, "name": string, "count": number}[];, where count is the number for all research outcomes (publications, datasets, software, other).
4. relatedDatasourcesTab.component.ts:
a. Close modal when clicking an internal link
b. Change view and structure to show number of all research outcomes
c. Search links with parameters for 'collectedfromdatasourceid or resulthostingdatasourceid'.
5. dataProvider.component.ts:
a. Count and search everything with parameters for 'collectedfromdatasourceid or resulthostingdatasourceid'
b. Only 1 query for relatedDatasources (all research outcomes in 1 query).
6. dataProvider.component.html: Show all "tabs" no matter what the type of content provider is.

View differences:

searchResearchResults.service.ts
43 43
      .pipe(map(res => this.parseResults(resultType, res, properties)));
44 44
  }
45 45
  
46
  searchAggregators(resultType: string, id: string, params: string, refineParams: string, page: number, size: number, properties: EnvProperties): any {
47
    let link = properties.searchAPIURLLAst + this.getEntityName(resultType, true);
46
  searchAggregators(id: string, params: string, refineParams: string, page: number, size: number, properties: EnvProperties): any {
47
    let link = properties.searchAPIURLLAst +"resources2";
48 48
    
49 49
    let url = link + "?" + "&format=json";
50 50
    if (params != null && params != '') {

Also available in: Unified diff