diff --git a/docs/en_US/release_notes_4_21.rst b/docs/en_US/release_notes_4_21.rst index 364f34665..5e0845a25 100644 --- a/docs/en_US/release_notes_4_21.rst +++ b/docs/en_US/release_notes_4_21.rst @@ -46,4 +46,5 @@ Bug fixes | `Issue #5351 `_ - Fixed compilation warnings while building pgAdmin. | `Issue #5361 `_ - Fixes an issue where pgAdmin4 GUI does not display properly in IE 11. | `Issue #5362 `_ - Fixed an issue where the identical packages and sequences visible as different in the schema diff tool. -| `Issue #5371 `_ - Fixed tab key navigation for some dialogs. \ No newline at end of file +| `Issue #5371 `_ - Fixed tab key navigation for some dialogs. +| `Issue #5383 `_ - Fixed syntax error while refreshing the existing synonyms. \ No newline at end of file diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/synonyms/__init__.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/synonyms/__init__.py index b50f50162..13623b737 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/synonyms/__init__.py +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/synonyms/__init__.py @@ -311,7 +311,7 @@ class SynonymView(PGChildNodeView, SchemaDiffObjectCompare): for row in rset['rows']: return make_json_response( data=self.blueprint.generate_browser_node( - row['name'], + row['oid'], scid, row['name'], icon="icon-%s" % self.node_type