Ensure that the Query Tool connection string should not be changed as per the 'Query Tool tab title'. Fixes #6404

This commit is contained in:
Nikhil Mohite
2021-06-07 22:07:51 +05:30
committed by Akshay Joshi
parent d5f537aae4
commit e1067ffe67
8 changed files with 41 additions and 27 deletions

View File

@@ -50,7 +50,7 @@ from pgadmin.utils.master_password import validate_master_password, \
set_crypt_key, process_masterpass_disabled
from pgadmin.model import User
from pgadmin.utils.constants import MIMETYPE_APP_JS, PGADMIN_NODE,\
INTERNAL, KERBEROS, LDAP
INTERNAL, KERBEROS, LDAP, QT_DEFAULT_PLACEHOLDER
try:
from flask_security.views import default_render_json
@@ -852,7 +852,8 @@ def utils():
pg_libpq_version=pg_libpq_version,
support_ssh_tunnel=config.SUPPORT_SSH_TUNNEL,
logout_url=_get_logout_url(),
platform=sys.platform
platform=sys.platform,
qt_default_placeholder=QT_DEFAULT_PLACEHOLDER
),
200, {'Content-Type': MIMETYPE_APP_JS})