diff --git a/searchPages/searchOrganizations.component.ts b/searchPages/searchOrganizations.component.ts index 38f20d28..40f36765 100644 --- a/searchPages/searchOrganizations.component.ts +++ b/searchPages/searchOrganizations.component.ts @@ -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;