enable impact factors for inspired-ris, show all featured datasets in enermaps featured tab
This commit is contained in:
parent
973ebda18e
commit
d34fcacf1c
|
@ -368,7 +368,8 @@
|
|||
resultType: 'publication', fetch: fetchPublications,
|
||||
searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults,
|
||||
params: getParamsForSearchLink('publications'),
|
||||
type: 'publication', typeName: 'publication', showImpactFactors:(community.communityId == 'elixir-gr')}">
|
||||
type: 'publication', typeName: 'publication',
|
||||
showImpactFactors:(community.communityId == 'elixir-gr' || community.communityId == 'inspired-ris' )}">
|
||||
</ng-container>
|
||||
</ng-template>
|
||||
<ng-template #datasets_tab>
|
||||
|
@ -376,7 +377,8 @@
|
|||
resultType: 'dataset', fetch: fetchDatasets,
|
||||
searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults,
|
||||
params: getParamsForSearchLink('datasets'),
|
||||
type: 'dataset', typeName: 'research data', showImpactFactors:(community.communityId == 'elixir-gr')}">
|
||||
type: 'dataset', typeName: 'research data',
|
||||
showImpactFactors:(community.communityId == 'elixir-gr' || community.communityId == 'inspired-ris')}">
|
||||
</ng-container>
|
||||
</ng-template>
|
||||
<ng-template #software_tab>
|
||||
|
@ -384,7 +386,8 @@
|
|||
resultType: 'software', fetch: fetchSoftware,
|
||||
searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults,
|
||||
params: getParamsForSearchLink('software'),
|
||||
type: 'software', typeName: 'software', showImpactFactors:(community.communityId == 'elixir-gr')}">
|
||||
type: 'software', typeName: 'software',
|
||||
showImpactFactors:(community.communityId == 'elixir-gr' || community.communityId == 'inspired-ris')}">
|
||||
</ng-container>
|
||||
</ng-template>
|
||||
<ng-template #other_tab>
|
||||
|
@ -392,7 +395,8 @@
|
|||
resultType: 'other', fetch: fetchOrps,
|
||||
searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults,
|
||||
params: getParamsForSearchLink('other'),
|
||||
type: 'orp', typeName: 'other products', showImpactFactors:(community.communityId == 'elixir-gr')}">
|
||||
type: 'orp', typeName: 'other products',
|
||||
showImpactFactors:(community.communityId == 'elixir-gr' || community.communityId == 'inspired-ris')}">
|
||||
</ng-container>
|
||||
</ng-template>
|
||||
<ng-template #analytics_tab>
|
||||
|
|
|
@ -14,14 +14,12 @@ import {StatisticsForDashboardComponent} from '../statistics/statistics.componen
|
|||
import {StringUtils} from '../openaireLibrary/utils/string-utils.class';
|
||||
|
||||
import {PiwikHelper} from '../utils/piwikHelper';
|
||||
import {HelperFunctions} from "../openaireLibrary/utils/HelperFunctions.class";
|
||||
import {SearchCommunityDataprovidersService} from "../openaireLibrary/connect/contentProviders/searchDataproviders.service";
|
||||
import {SearchCommunityProjectsService} from "../openaireLibrary/connect/projects/searchProjects.service";
|
||||
import {SearchResearchResultsService} from "../openaireLibrary/services/searchResearchResults.service";
|
||||
import {RouterHelper} from "../openaireLibrary/utils/routerHelper.class";
|
||||
import {SEOService} from "../openaireLibrary/sharedComponents/SEO/SEO.service";
|
||||
import {UserManagementService} from "../openaireLibrary/services/user-management.service";
|
||||
import {SubscribeComponent} from "../utils/subscribe/subscribe.component";
|
||||
import {SearchCustomFilter} from "../openaireLibrary/searchPages/searchUtils/searchUtils.class";
|
||||
import {FetchResearchResults} from "../openaireLibrary/utils/fetchEntitiesClasses/fetchResearchResults.class";
|
||||
import {ErrorCodes} from "../openaireLibrary/utils/properties/errorCodes";
|
||||
|
@ -543,7 +541,7 @@ export class CommunityComponent {
|
|||
this.activeTab = 'mapping';
|
||||
} else if (activeTabId == 'enermaps') {
|
||||
this.show = 'enermaps';
|
||||
this.searchFeaturedDatasets(1, this.fetchFeaturedDatasets.searchUtils.totalResults < 20?this.fetchFeaturedDatasets.searchUtils.totalResults:20);
|
||||
this.searchFeaturedDatasets(1, this.fetchFeaturedDatasets.searchUtils.totalResults);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue