Hi Hackers,

Please find attached patch for #6557 Incorrect column name listed in
Properties of Index.



-- 
Thanks & Regards,
Pradip Parkale
Software Engineer | EnterpriseDB Corporation
diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/utils.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/utils.py
index 6f3bb869b..d8556f11e 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/utils.py
+++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/utils.py
@@ -130,8 +130,8 @@ def get_column_details(conn, idx, data, mode='properties', template_path=None):
 
         # We need same data as string to display in properties window
         # If multiple column then separate it by colon
-        cols_str = row['attdef']
-        cols_str += _get_column_property_display_data(row, cols_str, data)
+        cols_str = ''
+        cols_str += _get_column_property_display_data(row, row['attdef'], data)
 
         cols.append(cols_str)
 

Reply via email to