[Web] Fix sorting by 'in use'

master
André 2018-06-01 14:19:42 +02:00
parent 7c1795c497
commit d2f9919a4d
1 changed files with 4 additions and 1 deletions

View File

@ -233,7 +233,10 @@ jQuery(function($){
},
},
{"name":"spam_aliases","filterable": false,"title":lang.spam_aliases,"breakpoints":"xs sm md"},
{"name":"in_use","filterable": false,"type":"html","title":lang.in_use},
{"name":"in_use","filterable": false,"type":"html","title":lang.in_use,"sortValue": function(value){
return $(value).find(".progress-bar").attr('aria-valuenow');
},
},
{"name":"messages","filterable": false,"title":lang.msg_num,"breakpoints":"xs sm md"},
{"name":"active","filterable": false,"title":lang.active},
{"name":"action","filterable": false,"sortable": false,"style":{"text-align":"right","min-width":"250px"},"type":"html","title":lang.action,"breakpoints":"xs sm md"}