Add volume and pages in cite this| update APA csl
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52058 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
fb39dd1a19
commit
39a4780b40
File diff suppressed because one or more lines are too long
|
@ -100,6 +100,15 @@ export class CiteThisComponent {
|
||||||
if(this.result.date ){
|
if(this.result.date ){
|
||||||
citationData.date = this.result.date ;
|
citationData.date = this.result.date ;
|
||||||
}
|
}
|
||||||
|
if(this.result.journal ){
|
||||||
|
citationData.type = "article-journal"; // in case of APA volume and pages appear only in specific types not just article
|
||||||
|
if(this.result.journal.volume){
|
||||||
|
citationData.volume = this.result.journal.volume ;
|
||||||
|
}
|
||||||
|
if(this.result.journal["start_page"] && this.result.journal["end_page"]){
|
||||||
|
citationData.page = this.result.journal["start_page"] +"-" +this.result.journal["end_page"] ;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue