diff --git a/portal-2/src/app/landingPages/showIdentifiers.component.ts b/portal-2/src/app/landingPages/showIdentifiers.component.ts
index c6479ec2..40aa40ca 100644
--- a/portal-2/src/app/landingPages/showIdentifiers.component.ts
+++ b/portal-2/src/app/landingPages/showIdentifiers.component.ts
@@ -7,24 +7,17 @@ import {OpenaireProperties} from '../utils/properties/openaireProperties';
@@ -32,7 +25,7 @@ import {OpenaireProperties} from '../utils/properties/openaireProperties';
})
export class ShowIdentifiersComponent {
- @Input() identifiers: Map;//Map;
+ @Input() identifiers: Map;
doiURL: string;
pmcURL: string;
diff --git a/portal-2/src/app/searchPages/searchPublications.component.ts b/portal-2/src/app/searchPages/searchPublications.component.ts
index 805471cd..17481de8 100644
--- a/portal-2/src/app/searchPages/searchPublications.component.ts
+++ b/portal-2/src/app/searchPages/searchPublications.component.ts
@@ -75,7 +75,7 @@ public getCSVResultsForEntity(entity:string, id:string): any {
let exportPublications = [];
exportPublications.push(//[exportPublications.length] =
[
- this.quote("bla"),
+ this.quote(["bli", "blo"]),
this.quote("bla"),
this.quote("bla"),
this.quote("bla"),
@@ -90,7 +90,7 @@ public getCSVResultsForEntity(entity:string, id:string): any {
return exportPublications;
}
-private quote(word: string): string {
+private quote(word: any): string {
return '"'+word+'"';
}
diff --git a/portal-2/src/app/searchPages/searchUtils/searchDownload.component.ts b/portal-2/src/app/searchPages/searchUtils/searchDownload.component.ts
deleted file mode 100644
index effde860..00000000
--- a/portal-2/src/app/searchPages/searchUtils/searchDownload.component.ts
+++ /dev/null
@@ -1,56 +0,0 @@
-import {Component, Input, Output, EventEmitter, ViewChild} from '@angular/core';
-import {Observable} from 'rxjs/Observable';
-import {AlertModal} from '../../utils/modal/alert';
-
-@Component({
- selector: 'search-download',
- template: `
-
-
-
- `
-})
-
-export class SearchDownloadComponent {
- @Input() totalResults:number = 0;
- @ViewChild(AlertModal) alertApplyAll;
- @Output() downloadClick = new EventEmitter();
-
- constructor () {
- }
-
- ngOnInit() {
-
- }
-
-confirmClose(data){
-
-}
- download() {
- this.downloadClick.emit({
- value: true
- });
- }
-
- denialOfDownload() {
- this.alertApplyAll.isOpen = true;
- this.alertApplyAll.cancelButton = true;
- this.alertApplyAll.okButton = false;
- this.alertApplyAll.alertTitle = "Download Results in CSV";
- this.alertApplyAll.message = "Sorry, but the results are too many! Use the api instead!";
- this.alertApplyAll.cancelButtonText = "Ok";
-
- console.info("denial of Download");
-
- }
-}