From f23fe38e0ba0362b4c6531ae29093735f371ea34 Mon Sep 17 00:00:00 2001 From: Aditya Toshniwal Date: Thu, 21 Nov 2024 10:59:08 +0530 Subject: [PATCH] Update release notes. --- docs/en_US/release_notes_8_14.rst | 2 ++ .../sqleditor/static/js/components/QueryToolDataGrid/index.jsx | 3 +-- .../sqleditor/static/js/components/sections/ResultSet.jsx | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/en_US/release_notes_8_14.rst b/docs/en_US/release_notes_8_14.rst index 44cc1db73..94e9f79c1 100644 --- a/docs/en_US/release_notes_8_14.rst +++ b/docs/en_US/release_notes_8_14.rst @@ -30,4 +30,6 @@ Housekeeping Bug fixes ********* | `Issue #5099 `_ - Fixed an issue where Ctrl/Cmd + A was not selecting all data in query tool data grid. + | `Issue #8010 `_ - Fixed an issue where query tool should show results and messages only from the last executed query. + | `Issue #8127 `_ - Fixed an issue where query tool should not prompt for unsaved changes when there are no changes. diff --git a/web/pgadmin/tools/sqleditor/static/js/components/QueryToolDataGrid/index.jsx b/web/pgadmin/tools/sqleditor/static/js/components/QueryToolDataGrid/index.jsx index 513f338d5..4383b9f14 100644 --- a/web/pgadmin/tools/sqleditor/static/js/components/QueryToolDataGrid/index.jsx +++ b/web/pgadmin/tools/sqleditor/static/js/components/QueryToolDataGrid/index.jsx @@ -401,9 +401,8 @@ export default function QueryToolDataGrid({columns, rows, totalRowCount, dataCha } // Handle Select All Cmd + A(mac) / Ctrl + a (others) - if((isMac() && e.metaKey) || (!isMac() && e.ctrlKey) && e.key === 'a') { + if(((isMac() && e.metaKey) || (!isMac() && e.ctrlKey)) && e.key === 'a') { e.preventDefault(); - onSelectedColumnsChangeWrapped(new Set()); eventBus.fireEvent(QUERY_TOOL_EVENTS.TRIGGER_SELECT_ALL); } } diff --git a/web/pgadmin/tools/sqleditor/static/js/components/sections/ResultSet.jsx b/web/pgadmin/tools/sqleditor/static/js/components/sections/ResultSet.jsx index d46ccf480..ed439dabc 100644 --- a/web/pgadmin/tools/sqleditor/static/js/components/sections/ResultSet.jsx +++ b/web/pgadmin/tools/sqleditor/static/js/components/sections/ResultSet.jsx @@ -1038,6 +1038,7 @@ export function ResultSet() { } else { setAllRowsSelect('NONE'); } + setSelectedColumns(new Set()); }); eventBus.registerListener(QUERY_TOOL_EVENTS.ALL_ROWS_SELECTED, ()=>{