Fixed an issue of deleting records when the user tries to delete multiple records. Fixes #6098

This commit is contained in:
Rahul Shirsat 2021-01-20 12:39:12 +05:30 committed by Akshay Joshi
parent 9fa29457a4
commit b3ca172f3a
2 changed files with 2 additions and 1 deletions

View File

@ -40,6 +40,7 @@ Bug fixes
| `Issue #6077 <https://redmine.postgresql.org/issues/6077>`_ - Fixed accessibility issues in various dialogs.
| `Issue #6084 <https://redmine.postgresql.org/issues/6084>`_ - Fixed TypeError exception in schema diff when selected any identical object.
| `Issue #6096 <https://redmine.postgresql.org/issues/6096>`_ - Updated deployment documentation, refer correctly to uWSGI where Gunicorn had been referenced.
| `Issue #6098 <https://redmine.postgresql.org/issues/6098>`_ - Fixed an issue of deleting records when the user tries to delete multiple records.
| `Issue #6120 <https://redmine.postgresql.org/issues/6120>`_ - Ensure that the user should be able to specify an older date for the account expiration of the role/user.
| `Issue #6121 <https://redmine.postgresql.org/issues/6121>`_ - Fixed an issue where the database list in the new connection window is not visible.
| `Issue #6122 <https://redmine.postgresql.org/issues/6122>`_ - Added informative message when there is no difference found for schema diff.

View File

@ -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]);
}