public inbox for [email protected]  
help / color / mirror / Atom feed
From: Rahul Shirsat <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [patch][pgAdmin] RM6858 Types collection properties tab delete issue
Date: Tue, 19 Oct 2021 14:26:25 +0530
Message-ID: <CAKtn9dNCfJ_kO3anBnf=G3K+2Tr4bX_OvWApvEC4VYSYN_o+DA@mail.gmail.com> (raw)

Hi Hackers,

Please find the attached patch which resolves the Type collection delete
issue.

-- 
*Rahul Shirsat*
Senior Software Engineer | EnterpriseDB Corporation.


Attachments:

  [application/octet-stream] RM6858.patch (784B, 3-RM6858.patch)
  download | inline diff:
diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/types/static/js/type.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/types/static/js/type.js
index 314c9c187..d2374b126 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/schemas/types/static/js/type.js
+++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/types/static/js/type.js
@@ -79,9 +79,9 @@ define('pgadmin.node.type', [
       yet migrated to new react schema. Once the properties for collection
       is removed, remove this model */
       model: pgBrowser.Node.Model.extend({
+        idAttribute: 'oid',
         defaults: {
           name: undefined,
-          oid: undefined,
           is_sys_type: false,
           typtype: undefined,
         },


view thread (3+ 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: [patch][pgAdmin] RM6858 Types collection properties tab delete issue
  In-Reply-To: <CAKtn9dNCfJ_kO3anBnf=G3K+2Tr4bX_OvWApvEC4VYSYN_o+DA@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