diff --git a/portal-2/src/app/searchPages/find/search.component.ts b/portal-2/src/app/searchPages/find/search.component.ts index de7dabe3..a3935323 100644 --- a/portal-2/src/app/searchPages/find/search.component.ts +++ b/portal-2/src/app/searchPages/find/search.component.ts @@ -284,14 +284,7 @@ public subPub;public subData;public subProjects;public subOrg;public subPeople; public keywordChanged($event){ this.keyword = $event.value; console.info("Search Find: search with keyword \"" + this.keyword + "\"" ); - // if(location.pathname.indexOf("search/find") ==-1){ - this.location.go(location.pathname+"search/find","?keyword=" + this.keyword); - // }else{ - // this.location.go(location.pathname,"?keyword=" + this.keyword); - // } - - //unsubscribeSearch(); - + this.location.go(location.pathname,"?keyword=" + this.keyword); this.reloadTabs(); if(this.activeTab == "publications") { this.searchPublications(); diff --git a/portal-2/src/app/searchPages/searchUtils/advancedSearchForm.component.ts b/portal-2/src/app/searchPages/searchUtils/advancedSearchForm.component.ts index f9e509e9..0af56cc6 100644 --- a/portal-2/src/app/searchPages/searchUtils/advancedSearchForm.component.ts +++ b/portal-2/src/app/searchPages/searchUtils/advancedSearchForm.component.ts @@ -11,7 +11,7 @@ import {Dates} from '../../utils/string-utils.class'; template: `