Fix display of numerics in the query tool. Fixes #1463

This commit is contained in:
Murtuza Zabuawala authored and Dave Page committed 2016-08-04 11:31:24 +01:00
1 parent dfceb63986
commit 8c433fbfce
1 file changed
+7 -1
@@ -1597,13 +1597,19 @@ define(
// Identify cell type of column.
switch(type) {
case "integer":
case "bigint":
case "smallint":
col_cell = 'integer';
break;
case "boolean":
col_cell = 'boolean';
break;
case "numeric":
col_cell = 'number';
case "double precision":
case "real":
col_cell = Backgrid.NumberCell.extend({
formatter: Backgrid.StringFormatter
});
break;
case "date":
case "reltime":