diff --git a/landingPages/result/resultLanding.component.html b/landingPages/result/resultLanding.component.html
index 69dddba2..b6013621 100644
--- a/landingPages/result/resultLanding.component.html
+++ b/landingPages/result/resultLanding.component.html
@@ -32,23 +32,12 @@
- {{resultLandingInfo.accessMode}}
- {{" "}}
- {{resultLandingInfo.accessMode}}
{{" "}}
- 0">
-
- {{language}}
- {{' '}}
-
-
- 0">
{{language}}
diff --git a/searchPages/searchUtils/searchFilter.component.ts b/searchPages/searchUtils/searchFilter.component.ts
index 122b9f1f..7adcb170 100644
--- a/searchPages/searchUtils/searchFilter.component.ts
+++ b/searchPages/searchUtils/searchFilter.component.ts
@@ -26,10 +26,12 @@ export class SearchFilterComponent {
public isOpen:boolean=false;
- constructor () {
+ constructor () {
}
- ngOnInit() {}
+ ngOnInit() {
+ this.filter.values = this.filter.values.filter(value => !value.name.toLowerCase().includes('unknown') && !value.name.toLowerCase().includes('not available'));
+ }
public _formatTitle(title,length){
return (((title+" ("+length+")").length >this._maxCharacters)?(title.substring(0,(this._maxCharacters - (" ("+length+")").length - ('...').length))+"..."):title+" ("+(length>95?"100":length)+")")
diff --git a/utils/result-preview/result-preview.component.html b/utils/result-preview/result-preview.component.html
index 3a845869..14fd003d 100644
--- a/utils/result-preview/result-preview.component.html
+++ b/utils/result-preview/result-preview.component.html
@@ -13,13 +13,9 @@
{{getTypeName(result.resultType)}}
- 0">
- {{' . ' + removeDuplicates(result.types).join(' . ')}}
-
- 0">
- {{' . ' + removeDuplicates(removeDuplicates(result.types)).join(' . ')}}
+ {{' . ' + removeUnknown(removeDuplicates(result.types)).join(' . ')}}
{{' . ' + result.year.toString()}}
. {{result.startYear}} - {{result.endYear}}
@@ -120,17 +116,12 @@
-
- {{result.accessMode}}
- {{' '}}
- {{result.accessMode}}
- {{' '}}
+ {{result.accessMode}}
+ {{' '}}
@@ -147,14 +138,7 @@
title="Open Access mandate for Publications and Research Data">
Open Access mandate for Publications and Research Data
{{' '}}
- 0">
-
- {{language}}
- {{' '}}
-
- 0">
+ 0">
{{language}}