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

This commit is contained in:
Murtuza Zabuawala
2016-08-04 11:31:24 +01:00
committed by Dave Page
parent dfceb63986
commit 8c433fbfce

View File

@@ -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":