diff --git a/explore/src/app/fos/fos.component.html b/explore/src/app/fos/fos.component.html index aca460f5..62edfbfd 100644 --- a/explore/src/app/fos/fos.component.html +++ b/explore/src/app/fos/fos.component.html @@ -8,7 +8,7 @@
- Beta + Beta

@@ -81,7 +81,7 @@

- {{fos[index].id}} @@ -91,13 +91,13 @@

- {{child.id}}

- {{subChild.id}} @@ -115,19 +115,19 @@

-

-

-
diff --git a/explore/src/app/fos/fos.component.ts b/explore/src/app/fos/fos.component.ts index 4311f3c2..b3c6c778 100644 --- a/explore/src/app/fos/fos.component.ts +++ b/explore/src/app/fos/fos.component.ts @@ -8,6 +8,7 @@ import {properties} from "src/environments/environment"; import {FormBuilder, FormControl} from "@angular/forms"; import {ActivatedRoute} from "@angular/router"; import {Location} from "@angular/common"; +import {StringUtils} from "../openaireLibrary/utils/string-utils.class"; @Component({ selector: 'fos', @@ -135,4 +136,8 @@ export class FosComponent implements OnInit, OnDestroy { this.keywordControl.setValue(''); this.location.go(window.location.pathname); } -} + + public urlEncodeAndQuote(str: string): string { + return StringUtils.quote(StringUtils.URIEncode(str)); + } +} \ No newline at end of file diff --git a/explore/src/app/openaireLibrary b/explore/src/app/openaireLibrary index 5e11488c..f974e91c 160000 --- a/explore/src/app/openaireLibrary +++ b/explore/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit 5e11488c8ff49da0675ce58924a415964aefd968 +Subproject commit f974e91c25868f3cca8842b3a6c39cdb1e6053f1 diff --git a/explore/src/app/sdg/sdg.component.html b/explore/src/app/sdg/sdg.component.html index 921cd126..67624514 100644 --- a/explore/src/app/sdg/sdg.component.html +++ b/explore/src/app/sdg/sdg.component.html @@ -8,7 +8,7 @@