public inbox for [email protected]  
help / color / mirror / Atom feed
[pgAdmin][RM6557]: Incorrect column name listed in Properties of Index
2+ messages / 2 participants
[nested] [flat]

* [pgAdmin][RM6557]: Incorrect column name listed in Properties of Index
@ 2021-06-25 11:41  Pradip Parkale <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Pradip Parkale @ 2021-06-25 11:41 UTC (permalink / raw)
  To: pgadmin-hackers

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)
 


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [pgAdmin][RM6557]: Incorrect column name listed in Properties of Index
@ 2021-06-27 13:36  Akshay Joshi <[email protected]>
  parent: Pradip Parkale <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Akshay Joshi @ 2021-06-27 13:36 UTC (permalink / raw)
  To: Pradip Parkale <[email protected]>; +Cc: pgadmin-hackers

Thanks, the patch applied.

On Fri, Jun 25, 2021 at 5:11 PM Pradip Parkale <
[email protected]> wrote:

> Hi Hackers,
>
> Please find attached patch for #6557 Incorrect column name listed in
> Properties of Index.
>
>
>
> --
> Thanks & Regards,
> Pradip Parkale
> Software Engineer | EnterpriseDB Corporation
>


-- 
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres <http://edbpostgres.com>*

*Mobile: +91 976-788-8246*


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-06-27 13:36 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-06-25 11:41 [pgAdmin][RM6557]: Incorrect column name listed in Properties of Index Pradip Parkale <[email protected]>
2021-06-27 13:36 ` Akshay Joshi <[email protected]>

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