public inbox for [email protected]  
help / color / mirror / Atom feed
[pgAdmin][RM5822]: Unable to change Start value for existing sequence
2+ messages / 2 participants
[nested] [flat]

* [pgAdmin][RM5822]: Unable to change Start value for existing sequence
@ 2020-10-05 10:17 Pradip Parkale <[email protected]>
  2020-10-06 12:06 ` Re: [pgAdmin][RM5822]: Unable to change Start value for existing sequence Akshay Joshi <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Pradip Parkale @ 2020-10-05 10:17 UTC (permalink / raw)
  To: pgadmin-hackers

Hi Hackers,

Please find the attached patch to allow the user to change the start value
of the existing sequence.

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


Attachments:

  [application/octet-stream] RM5855.patch (1.0K, 3-RM5855.patch)
  download | inline diff:
diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/sequences/static/js/sequence.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/sequences/static/js/sequence.js
index 8e9f20e27..af629675c 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/schemas/sequences/static/js/sequence.js
+++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/sequences/static/js/sequence.js
@@ -143,10 +143,7 @@ define('pgadmin.node.sequence', [
           mode: ['properties', 'create', 'edit'], group: gettext('Definition'),
         },{
           id: 'start', label: gettext('Start'), type: 'int',
-          mode: ['properties', 'create'], group: gettext('Definition'),
-          readonly: function(m) {
-            return !m.isNew();
-          },
+          mode: ['properties', 'create', 'edit'], group: gettext('Definition'),
         },{
           id: 'minimum', label: gettext('Minimum'), type: 'int',
           mode: ['properties', 'create', 'edit'], group: gettext('Definition'),


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

* Re: [pgAdmin][RM5822]: Unable to change Start value for existing sequence
  2020-10-05 10:17 [pgAdmin][RM5822]: Unable to change Start value for existing sequence Pradip Parkale <[email protected]>
@ 2020-10-06 12:06 ` Akshay Joshi <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Akshay Joshi @ 2020-10-06 12:06 UTC (permalink / raw)
  To: Pradip Parkale <[email protected]>; +Cc: pgadmin-hackers

Thanks, patch applied.

On Mon, Oct 5, 2020 at 3:48 PM Pradip Parkale <
[email protected]> wrote:

> Hi Hackers,
>
> Please find the attached patch to allow the user to change the start value
> of the existing sequence.
>
> --
> Thanks & Regards,
> Pradip Parkale
> Software Engineer | EnterpriseDB Corporation
>


-- 
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Sr. 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:[~2020-10-06 12:06 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-10-05 10:17 [pgAdmin][RM5822]: Unable to change Start value for existing sequence Pradip Parkale <[email protected]>
2020-10-06 12:06 ` 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