Commit 719ee411 authored by Fabien Amarger's avatar Fabien Amarger
Browse files

[publilist] Display decode URI name when there is no results

parent c6e81892
......@@ -127,7 +127,7 @@
</div>
</div>
</div>
<div *ngIf="publications.length == 0">
<div *ngIf="publications.length == 0 && adminDisplay">
<h3 *ngIf="adminDisplay">Résultats d'analyse entre HAL et fiche annuaire de <br/><b>{{researcherName}}</b> :</h3>
<div class="text-center">
<button class="btn btn-primary" *ngIf="researcher.email != null" (click)="sendMail()">Envoyer les résultats par email au chercheur</button>
......
......@@ -192,6 +192,7 @@ export class PubliListCmp {
}
//this.cleanName = this.utils.clearResearcherName(this.researcherName);
this.cleanName = this.utils.cleanName(this.researcherName);
this.researcherName = decodeURI(this.researcherName)
this.publications = []
let url = 'https://api.archives-ouvertes.fr/search/'+this.portal+'/?q=authFullName_t:%22'+this.cleanName+'%22';
let structIds = this.structId;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment