1. displayClaims.component: bug fix in keyword search.

2. dataset.component, orp.component: spelling corrections (#3845).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53008 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2018-09-03 12:17:46 +00:00
parent a211cc0713
commit 6063fad585
4 changed files with 7 additions and 5 deletions

View File

@ -56,6 +56,7 @@ export class DisplayClaimsComponent {
.subscribe((term: string) => {
console.log("change!")
this.keyword = this.inputkeyword;
//console.log("keyword: "+this.keyword + " VS inputkeyword: "+this.inputkeyword);
this.page = 1;
this.goTo();
});
@ -65,6 +66,7 @@ export class DisplayClaimsComponent {
}
ngOnDestroy() {
this.sub.unsubscribe();
//this.searchTermStreamSub.unsubscribe();
}
sub: any;
//string because comes as input from component directive
@ -358,7 +360,7 @@ handleErrors(err){
changekeyword(){
console.log("changekeyword")
if(this.inputkeyword.length >= 3 || this.inputkeyword.length == 0 ){
this.searchTermStream.next(this.keyword);
this.searchTermStream.next(this.inputkeyword);
}

View File

@ -299,7 +299,7 @@
<ul uk-accordion class="uk-padding-remove citation-accordion">
<li>
<div class="sideInfoTitle uk-accordion-title cite-this-button uk-width-1-1" type="button">
Cite this reasearch data
Cite this research data
</div>
<div class="uk-accordion-content">
<citeThis [result]="datasetInfo" [id]="datasetId" type="research data"></citeThis>

View File

@ -134,7 +134,7 @@
<ul uk-accordion class="uk-padding-remove citation-accordion">
<li>
<div class="sideInfoTitle uk-accordion-title cite-this-button uk-width-1-1" type="button">
Cite this reasearch data
Cite this research product
</div>
<div class="uk-accordion-content">
<citeThis [result]="orpInfo" [id]="orpId" type="other research product"></citeThis>

View File

@ -81,7 +81,7 @@ export class OrpComponent {
this.getOrpInfo(this.orpId);
}else{
this.showLoading = false;
this.warningMessage="No valid other research product id";
this.warningMessage="No valid research product id";
}
this.metricsClicked = false;
@ -142,7 +142,7 @@ export class OrpComponent {
console.log(err)
console.info("error");
this.errorMessage = 'No other research product found';
this.errorMessage = 'No research product found';
this.showLoading = false;
}
);