mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Improve speed of Select All in the results grid. Fixes #2522
This commit is contained in:
parent
c98b64fd82
commit
2d65312910
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user