public inbox for [email protected]  
help / color / mirror / Atom feed
From: Pradip Parkale <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin][RM6557]: Incorrect column name listed in Properties of Index
Date: Fri, 25 Jun 2021 17:11:34 +0530
Message-ID: <CAJ9T6SsuVAL-+6Y7PQE3szNKNBrr5Kh3xt07tpXKnpabLNKBJg@mail.gmail.com> (raw)

Hi Hackers,

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



-- 
Thanks & Regards,
Pradip Parkale
Software Engineer | EnterpriseDB Corporation


Attachments:

  [application/x-patch] RM6557.patch (875B, 3-RM6557.patch)
  download | inline diff:
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)
 


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [pgAdmin][RM6557]: Incorrect column name listed in Properties of Index
  In-Reply-To: <CAJ9T6SsuVAL-+6Y7PQE3szNKNBrr5Kh3xt07tpXKnpabLNKBJg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox