[#261] String replace failed in reports (M. Kosmach)
This commit is contained in:
@@ -75,7 +75,7 @@ $(document).ready(function() {
|
||||
"data": 'count',
|
||||
"searchable": false,
|
||||
"render": function(data, type, row, meta) {
|
||||
return data.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
||||
return data.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
||||
}
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user