diff --git a/docs/en_US/release_notes_7_5.rst b/docs/en_US/release_notes_7_5.rst index 429b6fd0b..590e2067a 100644 --- a/docs/en_US/release_notes_7_5.rst +++ b/docs/en_US/release_notes_7_5.rst @@ -56,3 +56,4 @@ Bug fixes | `Issue #6544 `_ - Fix an issue where adding a sub-folder inside a folder is not working as expected in File Manager. | `Issue #6556 `_ - Fix an error 'list' object has no attribute 'strip' while attempting to populate auto-complete manually the first time. | `Issue #6558 `_ - Fixed an issue where ERD Tool can't load the saved pgerd file from Shared Storage. + | `Issue #6582 `_ - Fix an issue where inserting more than 10 rows does not work correctly in View Data; only parts end up in the table. 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 dc229d66d..f86e9115e 100644 --- a/web/pgadmin/tools/sqleditor/static/js/components/sections/ResultSet.jsx +++ b/web/pgadmin/tools/sqleditor/static/js/components/sections/ResultSet.jsx @@ -702,7 +702,7 @@ function dataChangeReducer(state, action) { action.remove = action.remove || []; dataChange.added = _.pickBy(dataChange.added, (_v, k)=>(action.remove.indexOf(k) == -1)); dataChange.added_index = _.pickBy(dataChange.added_index, (v)=>(action.remove.indexOf(v) == -1)); - count = _.max(Object.keys(dataChange.added_index))||0; + count = _.max(Object.keys(dataChange.added_index).map(k=>+k))||0; Object.keys(action.add).forEach((k)=>{ dataChange.added_index[++count] = k; });