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:
committed by
Akshay Joshi
parent
37b19e0be2
commit
955bb22cd1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user