mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix display of numerics in the query tool. Fixes #1463
This commit is contained in:
committed by
Dave Page
parent
dfceb63986
commit
8c433fbfce
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user