Project

General

Profile

« Previous | Next » 

Revision 54648

[CanLoadTest: Merged trunk changes -r 54640:54647 into my branch]

View differences:

modules/uoa-services-library/branches/CanLoadTest/ng-openaire-library/src/app/landingPages/orp/orp.service.ts
176 176
      let length = Array.isArray(authors) ? authors.length : 1;
177 177
      for(let i=0; i<length; i++) {
178 178
        let author = Array.isArray(authors) ? authors[i] : authors;
179
        this.orpInfo.authors[author.rank-1] = author.content;
179
        this.orpInfo.authors[author.rank] = author.content;
180 180

  
181 181
      }
182 182

  
modules/uoa-services-library/branches/CanLoadTest/ng-openaire-library/src/app/landingPages/dataProvider/dataProvider.component.ts
244 244
               this.reloadRelatedDatasources = true;
245 245
               this.statsClicked = false;
246 246

  
247
               this.search(this.dataProviderInfo.tabs[0].content, 1, 10);
247
               //this.search(this.dataProviderInfo.tabs[0].content, 1, 10);
248 248
               this.count(1, 0);
249 249

  
250 250
               this.metricsClicked = false;
......
288 288
   }
289 289

  
290 290
   private count(page: number, size: number) {
291
       for(let i=1; i<this.dataProviderInfo.tabs.length; i++) {
291
       for(let i=0; i<this.dataProviderInfo.tabs.length; i++) {
292 292
           let content: string = this.dataProviderInfo.tabs[i].content;
293 293

  
294 294
           if(content=='publicationsTab') {
modules/uoa-services-library/branches/CanLoadTest/ng-openaire-library/src/app/landingPages/dataset/dataset.service.ts
197 197
      let length = Array.isArray(authors) ? authors.length : 1;
198 198
      for(let i=0; i<length; i++) {
199 199
        let author = Array.isArray(authors) ? authors[i] : authors;
200
        this.datasetInfo.authors[author.rank-1] = author.content;
200
        this.datasetInfo.authors[author.rank] = author.content;
201 201

  
202 202
      }
203 203

  
modules/uoa-services-library/branches/CanLoadTest/ng-openaire-library/src/app/landingPages/publication/publication.service.ts
240 240

  
241 241
      for(let i=0; i<length; i++) {
242 242
        let author = Array.isArray(authors) ? authors[i] : authors;
243
        this.publicationInfo.authors[author.rank-1] = author.content;
243
        this.publicationInfo.authors[author.rank] = author.content;
244 244
      }
245 245
      this.publicationInfo.authors = this.publicationInfo.authors.filter(function (item) {
246 246
        return (item != undefined);
modules/uoa-services-library/branches/CanLoadTest/ng-openaire-library/src/app/landingPages/software/software.service.ts
199 199

  
200 200
      for(let i=0; i<length; i++) {
201 201
        let author = Array.isArray(authors) ? authors[i] : authors;
202
        this.softwareInfo.authors[author.rank-1] = author.content;
202
        this.softwareInfo.authors[author.rank] = author.content;
203 203
      }
204 204

  
205 205
      this.softwareInfo.authors = this.softwareInfo.authors.filter(function (item) {

Also available in: Unified diff