public inbox for [email protected]  
help / color / mirror / Atom feed
[pgAdmin][RM-6286]: Template database is not displayed in Databases node.
2+ messages / 2 participants
[nested] [flat]

* [pgAdmin][RM-6286]: Template database is not displayed in Databases node.
@ 2021-03-04 12:04  Nikhil Mohite <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Nikhil Mohite @ 2021-03-04 12:04 UTC (permalink / raw)
  To: pgadmin-hackers

Hi Hackers,

Please find the attached patch for RM-6286
<https://redmine.postgresql.org/issues/6286;: The template database is not
displayed in the Databases node.
I have also tested issue RM-5875
<https://redmine.postgresql.org/issues/5875; (Which is related to this
issue) after new changes and it is working fine.

-- 
*Thanks & Regards,*
*Nikhil Mohite*
*Software Engineer.*
*EDB Postgres* <https://www.enterprisedb.com/;
*Mob.No: +91-7798364578.*


Attachments:

  [application/octet-stream] RM-6286.patch (671B, 3-RM-6286.patch)
  download | inline diff:
diff --git a/web/pgadmin/browser/server_groups/servers/databases/__init__.py b/web/pgadmin/browser/server_groups/servers/databases/__init__.py
index 0223fb60..55e00898 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/__init__.py
+++ b/web/pgadmin/browser/server_groups/servers/databases/__init__.py
@@ -343,7 +343,7 @@ class DatabaseView(PGChildNodeView):
         SQL = render_template(
             "/".join([self.template_path, self._NODES_SQL]),
             last_system_oid=0,
-            show_system_objects=self.blueprint.show_system_objects,
+            show_system_objects=True,
         )
         status, rset = self.conn.execute_dict(SQL)
 


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

* Re: [pgAdmin][RM-6286]: Template database is not displayed in Databases node.
@ 2021-03-04 12:19  Akshay Joshi <[email protected]>
  parent: Nikhil Mohite <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Akshay Joshi @ 2021-03-04 12:19 UTC (permalink / raw)
  To: Nikhil Mohite <[email protected]>; +Cc: pgadmin-hackers

Thanks, patch applied.

On Thu, Mar 4, 2021 at 5:34 PM Nikhil Mohite <[email protected]>
wrote:

> Hi Hackers,
>
> Please find the attached patch for RM-6286
> <https://redmine.postgresql.org/issues/6286;: The template database is
> not displayed in the Databases node.
> I have also tested issue RM-5875
> <https://redmine.postgresql.org/issues/5875; (Which is related to this
> issue) after new changes and it is working fine.
>
> --
> *Thanks & Regards,*
> *Nikhil Mohite*
> *Software Engineer.*
> *EDB Postgres* <https://www.enterprisedb.com/;
> *Mob.No: +91-7798364578.*
>


-- 
*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-03-04 12:19 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-03-04 12:04 [pgAdmin][RM-6286]: Template database is not displayed in Databases node. Nikhil Mohite <[email protected]>
2021-03-04 12:19 ` 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