diff --git a/docs/en_US/release_notes_5_1.rst b/docs/en_US/release_notes_5_1.rst index 43a04a189..6eb817f8d 100644 --- a/docs/en_US/release_notes_5_1.rst +++ b/docs/en_US/release_notes_5_1.rst @@ -33,3 +33,4 @@ Bug fixes | `Issue #6260 `_ - Fixed an issue where the 'Create Slot' option is disabled in case of the same IP/host provided but the port is different. | `Issue #6272 `_ - Fixed an issue where the user is not able to change the connection in Query Tool when any SQL file is opened. | `Issue #6281 `_ - Fixed an issue where schema diff showing wrong SQL when comparing triggers with different when clause. +| `Issue #6286 `_ - Ensure that the template database should be visible while creating the database. diff --git a/web/pgadmin/browser/server_groups/servers/databases/__init__.py b/web/pgadmin/browser/server_groups/servers/databases/__init__.py index 0223fb601..55e00898e 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)