diff options
Diffstat (limited to 'scraper/client/paper')
| -rw-r--r-- | scraper/client/paper/citationList.component.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scraper/client/paper/citationList.component.js b/scraper/client/paper/citationList.component.js index 1443b24c..ca4d2482 100644 --- a/scraper/client/paper/citationList.component.js +++ b/scraper/client/paper/citationList.component.js @@ -28,7 +28,7 @@ class CitationList extends Component { citation.pdf.length, citation ]) - .sort((a,b) => (b[2] - a[2] || b[1] - a[1] || (a[0].localeCompare(b[0])))) + .sort((a,b) => (b[1] - a[1] || b[2] - a[2] || (a[0].localeCompare(b[0])))) .map((pair, i) => { const [ title, uses_dataset, citation ] = pair let cite = { ...citation } |
