public inbox for [email protected]  
help / color / mirror / Atom feed
[pgAdmin][RM-6121]: Unable to see database list in connection window launched from change connection option in query tool
2+ messages / 2 participants
[nested] [flat]

* [pgAdmin][RM-6121]: Unable to see database list in connection window launched from change connection option in query tool
@ 2021-01-07 11:34 Nikhil Mohite <[email protected]>
  2021-01-11 12:11 ` Re: [pgAdmin][RM-6121]: Unable to see database list in connection window launched from change connection option in query tool Akshay Joshi <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Nikhil Mohite @ 2021-01-07 11:34 UTC (permalink / raw)
  To: pgadmin-hackers

Hi Team,

Please find the attached patch for RM-6121
<https://redmine.postgresql.org/issues/6121;: Unable to see database list
in connection window launched from change connection option in query tool.

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


Attachments:

  [application/octet-stream] RM_6121.patch (677B, 3-RM_6121.patch)
  download | inline diff:
diff --git a/web/pgadmin/browser/server_groups/servers/databases/templates/databases/sql/default/nodes.sql b/web/pgadmin/browser/server_groups/servers/databases/templates/databases/sql/default/nodes.sql
index 7dd63ff7..de93b3d4 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/templates/databases/sql/default/nodes.sql
+++ b/web/pgadmin/browser/server_groups/servers/databases/templates/databases/sql/default/nodes.sql
@@ -14,6 +14,10 @@ AND
 db.datname in ({{db_restrictions}})
 {% endif %}
 
+{% if show_system_objects %}
 AND db.datistemplate in (false, {{show_system_objects}})
+{% else %}
+AND db.datistemplate in (false)
+{% endif %}
 
 ORDER BY datname;


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

* Re: [pgAdmin][RM-6121]: Unable to see database list in connection window launched from change connection option in query tool
  2021-01-07 11:34 [pgAdmin][RM-6121]: Unable to see database list in connection window launched from change connection option in query tool Nikhil Mohite <[email protected]>
@ 2021-01-11 12:11 ` Akshay Joshi <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

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

Thanks, patch applied.

On Thu, Jan 7, 2021 at 5:05 PM Nikhil Mohite <[email protected]>
wrote:

> Hi Team,
>
> Please find the attached patch for RM-6121
> <https://redmine.postgresql.org/issues/6121;: Unable to see database list
> in connection window launched from change connection option in query tool.
>
> --
> *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-01-11 12:11 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07 11:34 [pgAdmin][RM-6121]: Unable to see database list in connection window launched from change connection option in query tool Nikhil Mohite <[email protected]>
2021-01-11 12:11 ` 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