diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-03-28 16:52:54 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-03-28 16:52:54 +0100 |
| commit | 36a44fe10d2501312d16aa5f70b31fd3585fb996 (patch) | |
| tree | 53570382aff7d11985a948b700c54c7c96129957 | |
| parent | d13d1cdfa51a481d318fb37cd02ba93915bdc3d1 (diff) | |
add pdf length search
| -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 } |
