[Web] Fix sorting by returning a number, fixes #1092
parent
6a01411460
commit
5106eea86f
|
@ -165,7 +165,7 @@ jQuery(function($){
|
||||||
},
|
},
|
||||||
"sortValue": function(value){
|
"sortValue": function(value){
|
||||||
res = value.split("/");
|
res = value.split("/");
|
||||||
return res[0];
|
return Number(res[0]);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{"name":"max_quota_for_mbox","title":lang.mailbox_quota,"breakpoints":"xs sm"},
|
{"name":"max_quota_for_mbox","title":lang.mailbox_quota,"breakpoints":"xs sm"},
|
||||||
|
@ -229,7 +229,7 @@ jQuery(function($){
|
||||||
},
|
},
|
||||||
"sortValue": function(value){
|
"sortValue": function(value){
|
||||||
res = value.split("/");
|
res = value.split("/");
|
||||||
return res[0];
|
return Number(res[0]);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{"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"},
|
||||||
|
|
Loading…
Reference in New Issue