Fix #16895 - Wrong table count on space separated numbers
Fixes: #16895 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
0b868458de
commit
aa06d9e680
@ -70,7 +70,7 @@ DatabaseStructure.adjustTotals = function () {
|
||||
// The approximated value contains a preceding ~ (Eg 100 --> ~100)
|
||||
strRows = strRows.substring(1, strRows.length);
|
||||
}
|
||||
strRows = strRows.replace(/[,.]/g, '');
|
||||
strRows = strRows.replace(/[,.\s]/g, '');
|
||||
var intRow = parseInt(strRows, 10);
|
||||
if (! isNaN(intRow)) {
|
||||
rowsSum += intRow;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user