parsifal icon indicating copy to clipboard operation
parsifal copied to clipboard

Order articles by score

Open jachinte opened this issue 8 years ago • 3 comments

Hi,

It would be very useful to be able to order the list of articles by score, especially during quality assessment and data extraction. That way, one start by reviewing the most important articles, and can even ignore them after certain limit if there are too many articles and little time.

jachinte avatar Sep 19 '17 18:09 jachinte

I've been using this code in the console, in case anyone finds it useful:

Descending order:

$('.quality-assessment').append($('.panel-quality-assessment')
    .sort(function(a, b) {
        return $(b).find('.score').text() - $(a).find('.score').text();
    }));

Ascending order:

$('.quality-assessment').append($('.panel-quality-assessment')
    .sort(function(a, b) {
        return $(a).find('.score').text() - $(b).find('.score').text();
    }));

jachinte avatar Sep 19 '17 19:09 jachinte

Hey @jachinte I will make it available soon!

vitorfs avatar Sep 21 '17 07:09 vitorfs

Awesome, thanks @vitorfs!

jachinte avatar Sep 21 '17 17:09 jachinte