mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue of deleting records when the user tries to delete multiple records. Fixes #6098
This commit is contained in:
committed by
Akshay Joshi
parent
9fa29457a4
commit
b3ca172f3a
@@ -3551,7 +3551,7 @@ define('tools.querytool', [
|
||||
} else {
|
||||
dataView.beginUpdate();
|
||||
for (var j = 0; j < rows.length; j++) {
|
||||
var item = grid.getDataItem(rows[j]);
|
||||
var item = grid.getData().getItemById(rows[j]);
|
||||
data.push(item);
|
||||
dataView.deleteItem(item[self.client_primary_key]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user