Project

General

Profile

« Previous | Next » 

Revision 53008

1. displayClaims.component: bug fix in keyword search.
2. dataset.component, orp.component: spelling corrections (#3845).

View differences:

modules/uoa-services-library/trunk/ng-openaire-library/src/app/landingPages/orp/orp.component.html
134 134
                <ul uk-accordion class="uk-padding-remove citation-accordion">
135 135
                  <li>
136 136
                    <div class="sideInfoTitle uk-accordion-title cite-this-button uk-width-1-1" type="button">
137
                      Cite this reasearch data
137
                      Cite this research product
138 138
                    </div>
139 139
                    <div class="uk-accordion-content">
140 140
                      <citeThis [result]="orpInfo" [id]="orpId" type="other research product"></citeThis>
modules/uoa-services-library/trunk/ng-openaire-library/src/app/landingPages/orp/orp.component.ts
81 81
                this.getOrpInfo(this.orpId);
82 82
            }else{
83 83
              this.showLoading = false;
84
                this.warningMessage="No valid other research product id";
84
                this.warningMessage="No valid research product id";
85 85
            }
86 86

  
87 87
            this.metricsClicked = false;
......
142 142
                console.log(err)
143 143
                console.info("error");
144 144

  
145
                this.errorMessage = 'No other research product found';
145
                this.errorMessage = 'No research product found';
146 146
                this.showLoading = false;
147 147
            }
148 148
        );
modules/uoa-services-library/trunk/ng-openaire-library/src/app/landingPages/dataset/dataset.component.html
299 299
                  <ul uk-accordion class="uk-padding-remove citation-accordion">
300 300
                      <li>
301 301
                        <div class="sideInfoTitle uk-accordion-title cite-this-button uk-width-1-1" type="button">
302
                          Cite this reasearch data
302
                          Cite this research data
303 303
                        </div>
304 304
                          <div class="uk-accordion-content">
305 305
                            <citeThis [result]="datasetInfo" [id]="datasetId" type="research data"></citeThis>
modules/uoa-services-library/trunk/ng-openaire-library/src/app/claims/claim-utils/displayClaims/displayClaims.component.ts
56 56
      .subscribe((term: string) =>    {
57 57
        console.log("change!")
58 58
        this.keyword = this.inputkeyword;
59
        //console.log("keyword: "+this.keyword + " VS inputkeyword: "+this.inputkeyword);
59 60
        this.page = 1;
60 61
        this.goTo();
61 62
      });
......
65 66
  }
66 67
  ngOnDestroy() {
67 68
    this.sub.unsubscribe();
69
    //this.searchTermStreamSub.unsubscribe();
68 70
  }
69 71
    sub: any;
70 72
  //string because comes as input from component directive
......
358 360
   changekeyword(){
359 361
     console.log("changekeyword")
360 362
     if(this.inputkeyword.length >= 3 || this.inputkeyword.length == 0 ){
361
       this.searchTermStream.next(this.keyword);
363
       this.searchTermStream.next(this.inputkeyword);
362 364

  
363 365

  
364 366
     }

Also available in: Unified diff