Revision 58259
Added by Konstantina Galouni about 4 years ago
dataProviderInfo.ts | ||
---|---|---|
170 | 170 |
//projects: any; |
171 | 171 |
datasources: any; |
172 | 172 |
|
173 |
relatedDatasources: Map<string, {"name": string, "countPublications": string, "countDatasets": string, "countSoftware": string, "countOrps": string}>; |
|
173 |
//relatedDatasources: Map<string, {"name": string, "countPublications": string, "countDatasets": string, "countSoftware": string, "countOrps": string}>; |
|
174 |
relatedDatasources: {"id": string, "name": string, "count": number}[] = []; |
|
174 | 175 |
} |
Also available in: Unified diff
[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.