From 3b20cad5bb76879168b063f6689082fb68a2d222 Mon Sep 17 00:00:00 2001 From: Aditya Toshniwal Date: Thu, 9 May 2024 15:33:29 +0530 Subject: [PATCH] Fixed an issue where drag and drop publication and subscription name in SQL editors was not working. #6086 --- docs/en_US/release_notes_8_7.rst | 1 + web/pgadmin/static/js/tree/ObjectExplorer.jsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en_US/release_notes_8_7.rst b/docs/en_US/release_notes_8_7.rst index d8a964b0b..11be99271 100644 --- a/docs/en_US/release_notes_8_7.rst +++ b/docs/en_US/release_notes_8_7.rst @@ -31,4 +31,5 @@ Housekeeping Bug fixes ********* + | `Issue #6086 `_ - Fixed an issue where drag and drop publication and subscription name in SQL editors was not working. | `Issue #6464 `_ - Fixed an issue of the pgAdmin window size increasing each time it was reopened. diff --git a/web/pgadmin/static/js/tree/ObjectExplorer.jsx b/web/pgadmin/static/js/tree/ObjectExplorer.jsx index 229e2b3c6..fd6e52f1b 100644 --- a/web/pgadmin/static/js/tree/ObjectExplorer.jsx +++ b/web/pgadmin/static/js/tree/ObjectExplorer.jsx @@ -13,7 +13,7 @@ import { usePgAdmin } from '../BrowserComponent'; function postTreeReady(b) { const draggableTypes = [ 'collation domain domain_constraints fts_configuration fts_dictionary fts_parser fts_template synonym table partition type sequence package view mview foreign_table edbvar', - 'schema column database cast event_trigger extension language foreign_data_wrapper foreign_server user_mapping compound_trigger index index_constraint primary_key unique_constraint check_constraint exclusion_constraint foreign_key rule', + 'schema column database cast event_trigger extension language foreign_data_wrapper foreign_server user_mapping compound_trigger index index_constraint primary_key unique_constraint check_constraint exclusion_constraint foreign_key rule publication subscription', 'trigger trigger_function', 'edbfunc function edbproc procedure', 'coll-column'