[Trunk | Library]: searchOrganizations.component.ts: [Bug fix] links to organizations simple and advanced pages (not projects).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58149 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
468e6e4b9b
commit
1c7412cd63
|
@ -82,8 +82,8 @@ public resourcesQuery = "(oaftype exact organization)";
|
|||
.subscribe((data: { envSpecific: EnvProperties }) => {
|
||||
this.properties= data.envSpecific;
|
||||
if (!this.simpleSearchLink) {
|
||||
this.simpleSearchLink = this.properties.searchLinkToProjects;
|
||||
} this.advancedSearchLink = this.properties.searchLinkToAdvancedProjects;
|
||||
this.simpleSearchLink = this.properties.searchLinkToOrganizations;
|
||||
} this.advancedSearchLink = this.properties.searchLinkToAdvancedOrganizations;
|
||||
this.searchUtils.baseUrl = (this.simpleView)?this.simpleSearchLink:this.advancedSearchLink;
|
||||
this.pagingLimit = data.envSpecific.pagingLimit;
|
||||
this.isPiwikEnabled = data.envSpecific.enablePiwikTrack;
|
||||
|
|
Loading…
Reference in New Issue