Fix bstables sorting (#2159)

This commit is contained in:
jekkos committed 2018-10-13 14:12:01 +02:00
1 parent a268c0a48d
commit ddcece66d6
1 file changed
+2 -2
+2 -2
View File
@@ -383,7 +383,7 @@
})(window.form_support = window.form_support || {}, jQuery);
function number_sorter(a, b) {
a = +a.replace(/[^\-0-9\.]+/g, '');
b = +b.replace(/[^\-0-9\.]+/g, '');
a = +a.replace(/[^\-0-9]+/g, '');
b = +b.replace(/[^\-0-9]+/g, '');
return a - b;
}