mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-24 21:57:39 -05:00
Improve speed of Select All in the results grid. Fixes #2522
This commit is contained in:
1 parent
c98b64fd82
commit
2d65312910
1 file changed
+1
-1
@@ -94,7 +94,7 @@ define(['slickgrid'], function () {
|
||||
var indexArray = [];
|
||||
ranges.forEach(function (range) {
|
||||
if (rangeHasCompleteRows(grid, range))
|
||||
indexArray = _.union(indexArray, _.range(range.fromRow, range.toRow + 1));
|
||||
indexArray = indexArray.concat(_.range(range.fromRow, range.toRow + 1));
|
||||
});
|
||||
|
||||
return indexArray;
|
||||
|
||||
Reference in new issue
Block a user