Fixed an issue where the query tool is displaying an incorrect label. Fixes #7136

This commit is contained in:
Rahul Shirsat 2022-02-02 14:45:31 +05:30 committed by Akshay Joshi
parent 78f0c9c4a5
commit 4d727015fd
2 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ Bug fixes
| `Issue #7126 <https://redmine.postgresql.org/issues/7126>`_ - Fixed an issue where the F2 Function key removes browser panel contents.
| `Issue #7127 <https://redmine.postgresql.org/issues/7127>`_ - Added validation for Hostname in the server dialog.
| `Issue #7135 <https://redmine.postgresql.org/issues/7135>`_ - Enforce the minimum Windows version that the installer will run on.
| `Issue #7136 <https://redmine.postgresql.org/issues/7136>`_ - Fixed an issue where the query tool is displaying an incorrect label.
| `Issue #7142 <https://redmine.postgresql.org/issues/7142>`_ - Fixed an issue where a warning message was shown after database creation/modification.
| `Issue #7145 <https://redmine.postgresql.org/issues/7145>`_ - Ensure that owner should be ignored while comparing extensions.
| `Issue #7146 <https://redmine.postgresql.org/issues/7146>`_ - Fixed event trigger comparing issue in Schema Diff tool.

View File

@ -2707,7 +2707,7 @@ define('tools.querytool', [
$('#btn-conn-status i').removeClass('obtaining-conn');
var tree_data = pgWindow.default.pgAdmin.Browser.tree.getTreeNodeHierarchy(pgWindow.default.pgAdmin.Browser.tree.selected());
let conn_title = panelTitleFunc.getPanelTitle(pgWindow.default.pgAdmin.Browser, null, null, null, true, tree_data.database.label);
let conn_title = ` ${_.unescape(url_params.title)}`;
self.gridView.set_editor_title(_.unescape(conn_title));
let connection_data = {
'server_group': self.gridView.handler.url_params.sgid,