[Web] Fix sorting by 'in use'

master
André 2018-06-01 14:32:27 +02:00
parent d2f9919a4d
commit dbaddc562e
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ jQuery(function($){
}, },
{"name":"spam_aliases","filterable": false,"title":lang.spam_aliases,"breakpoints":"xs sm md"}, {"name":"spam_aliases","filterable": false,"title":lang.spam_aliases,"breakpoints":"xs sm md"},
{"name":"in_use","filterable": false,"type":"html","title":lang.in_use,"sortValue": function(value){ {"name":"in_use","filterable": false,"type":"html","title":lang.in_use,"sortValue": function(value){
return $(value).find(".progress-bar").attr('aria-valuenow'); return Number($(value).find(".progress-bar").attr('aria-valuenow'));
}, },
}, },
{"name":"messages","filterable": false,"title":lang.msg_num,"breakpoints":"xs sm md"}, {"name":"messages","filterable": false,"title":lang.msg_num,"breakpoints":"xs sm md"},