diff --git a/explore/src/app/app.component.ts b/explore/src/app/app.component.ts index a35e621b..f10b1292 100644 --- a/explore/src/app/app.component.ts +++ b/explore/src/app/app.component.ts @@ -112,12 +112,18 @@ export class AppComponent { } buildMenu() { + let researchOutcomesMenu = new MenuItem("", "Research Outcomes", "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {resultbestaccessright: '"' + encodeURIComponent("Open Access") + '"'}); + researchOutcomesMenu.items = [ + new MenuItem("", "Publications", "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {type: '"' + encodeURIComponent("publications") + '"'}), + new MenuItem("", "Research data", "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {type: '"' + encodeURIComponent("datasets") + '"'}), + new MenuItem("", "Software", "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {type: '"' + encodeURIComponent("software") + '"'}), + new MenuItem("", "Other research products", "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {type: '"' + encodeURIComponent("other") + '"'})]; //TODO add check for research results route this.menuItems = [ { rootItem: new MenuItem("search", "Search", "", "/search/find", false, [], ["/search/find"], {qf: true}), items: [ - new MenuItem("", "Research Outcomes", "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {resultbestaccessright: '"' + encodeURIComponent("Open Access") + '"'}), + researchOutcomesMenu, new MenuItem("", "Projects", "", "/search/find/projects/", false, ["project"], ["/search/find/projects"], {}), new MenuItem("", "Content Providers", "", "/search/find/dataproviders", false, ["datasource"], ["/search/find/dataproviders"], {}), new MenuItem("", "Organizations", "", "/search/find/organizations/", false, ["organization"], ["/search/find/organizations"], {}) diff --git a/explore/src/app/openaireLibrary b/explore/src/app/openaireLibrary index b4b3e143..37c9e91e 160000 --- a/explore/src/app/openaireLibrary +++ b/explore/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit b4b3e143bbb4ca2b33eadb6020d4ea016f408bfa +Subproject commit 37c9e91efc72bc530ce9e8357f6a4149dd3157a4 diff --git a/explore/src/prod/robots.txt b/explore/src/prod/robots.txt index 9954f1dd..e87bc075 100644 --- a/explore/src/prod/robots.txt +++ b/explore/src/prod/robots.txt @@ -1,4 +1,3 @@ User-Agent: * Disallow: /upload -Disallow: /search/find/*&*&*&* -Disallow: /search/find/*community=* +Disallow: /search/find/*community="covid-19*