mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue when a table has a column with an array type with length or
precision, the column type is not selected while editing the table. Fixes #7408
This commit is contained in:
parent
37b19e0be2
commit
955bb22cd1
@ -35,3 +35,4 @@ Bug fixes
|
||||
| `Issue #7402 <https://redmine.postgresql.org/issues/7402>`_ - Ensure that Dashboard graphs should be refreshed on changing the node from the browser tree.
|
||||
| `Issue #7403 <https://redmine.postgresql.org/issues/7403>`_ - Fixed an issue where comments on domain constraints were not visible when selecting a domain node.
|
||||
| `Issue #7405 <https://redmine.postgresql.org/issues/7405>`_ - Ensure that null values are accepted for the numeric columns in react-data-grid.
|
||||
| `Issue #7408 <https://redmine.postgresql.org/issues/7408>`_ - Fixed an issue when a table has a column with an array type with length or precision, the column type is not selected while editing the table.
|
||||
|
@ -184,7 +184,7 @@ def column_formatter(conn, tid, clid, data, edit_types_list=None,
|
||||
edit_types_list = [row['typname'] for row in rset['rows']]
|
||||
|
||||
# We will need present type in edit mode
|
||||
edit_types_list.append(data['cltype'])
|
||||
edit_types_list.append(data['typname'])
|
||||
data['edit_types'] = sorted(edit_types_list)
|
||||
|
||||
data['cltype'] = DataTypeReader.parse_type_name(data['cltype'])
|
||||
|
@ -1,5 +1,4 @@
|
||||
/////////////////////////////////////////////////////////////
|
||||
//234567890
|
||||
// pgAdmin 4 - PostgreSQL Tools
|
||||
//
|
||||
// Copyright (C) 2013 - 2022, The pgAdmin Development Team
|
||||
|
Loading…
Reference in New Issue
Block a user