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:
parent
a211cc0713
commit
6063fad585
|
@ -56,6 +56,7 @@ export class DisplayClaimsComponent {
|
||||||
.subscribe((term: string) => {
|
.subscribe((term: string) => {
|
||||||
console.log("change!")
|
console.log("change!")
|
||||||
this.keyword = this.inputkeyword;
|
this.keyword = this.inputkeyword;
|
||||||
|
//console.log("keyword: "+this.keyword + " VS inputkeyword: "+this.inputkeyword);
|
||||||
this.page = 1;
|
this.page = 1;
|
||||||
this.goTo();
|
this.goTo();
|
||||||
});
|
});
|
||||||
|
@ -65,6 +66,7 @@ export class DisplayClaimsComponent {
|
||||||
}
|
}
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
this.sub.unsubscribe();
|
this.sub.unsubscribe();
|
||||||
|
//this.searchTermStreamSub.unsubscribe();
|
||||||
}
|
}
|
||||||
sub: any;
|
sub: any;
|
||||||
//string because comes as input from component directive
|
//string because comes as input from component directive
|
||||||
|
@ -358,7 +360,7 @@ handleErrors(err){
|
||||||
changekeyword(){
|
changekeyword(){
|
||||||
console.log("changekeyword")
|
console.log("changekeyword")
|
||||||
if(this.inputkeyword.length >= 3 || this.inputkeyword.length == 0 ){
|
if(this.inputkeyword.length >= 3 || this.inputkeyword.length == 0 ){
|
||||||
this.searchTermStream.next(this.keyword);
|
this.searchTermStream.next(this.inputkeyword);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -299,7 +299,7 @@
|
||||||
<ul uk-accordion class="uk-padding-remove citation-accordion">
|
<ul uk-accordion class="uk-padding-remove citation-accordion">
|
||||||
<li>
|
<li>
|
||||||
<div class="sideInfoTitle uk-accordion-title cite-this-button uk-width-1-1" type="button">
|
<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>
|
||||||
<div class="uk-accordion-content">
|
<div class="uk-accordion-content">
|
||||||
<citeThis [result]="datasetInfo" [id]="datasetId" type="research data"></citeThis>
|
<citeThis [result]="datasetInfo" [id]="datasetId" type="research data"></citeThis>
|
||||||
|
|
|
@ -134,7 +134,7 @@
|
||||||
<ul uk-accordion class="uk-padding-remove citation-accordion">
|
<ul uk-accordion class="uk-padding-remove citation-accordion">
|
||||||
<li>
|
<li>
|
||||||
<div class="sideInfoTitle uk-accordion-title cite-this-button uk-width-1-1" type="button">
|
<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>
|
||||||
<div class="uk-accordion-content">
|
<div class="uk-accordion-content">
|
||||||
<citeThis [result]="orpInfo" [id]="orpId" type="other research product"></citeThis>
|
<citeThis [result]="orpInfo" [id]="orpId" type="other research product"></citeThis>
|
||||||
|
|
|
@ -81,7 +81,7 @@ export class OrpComponent {
|
||||||
this.getOrpInfo(this.orpId);
|
this.getOrpInfo(this.orpId);
|
||||||
}else{
|
}else{
|
||||||
this.showLoading = false;
|
this.showLoading = false;
|
||||||
this.warningMessage="No valid other research product id";
|
this.warningMessage="No valid research product id";
|
||||||
}
|
}
|
||||||
|
|
||||||
this.metricsClicked = false;
|
this.metricsClicked = false;
|
||||||
|
@ -142,7 +142,7 @@ export class OrpComponent {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
console.info("error");
|
console.info("error");
|
||||||
|
|
||||||
this.errorMessage = 'No other research product found';
|
this.errorMessage = 'No research product found';
|
||||||
this.showLoading = false;
|
this.showLoading = false;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue