Notes |
|
(0149695)
|
hgbot
|
2023-05-15 12:10
|
|
|
|
(0149696)
|
hgbot
|
2023-05-15 12:13
|
|
|
|
(0149697)
|
hgbot
|
2023-05-15 12:14
|
|
|
|
(0150442)
|
hgbot
|
2023-05-30 04:38
|
|
|
|
(0150443)
|
hgbot
|
2023-05-30 04:38
|
|
|
|
(0150444)
|
hgbot
|
2023-05-30 04:38
|
|
|
|
(0150445)
|
hgbot
|
2023-05-30 04:38
|
|
|
|
(0150446)
|
hgbot
|
2023-05-30 04:38
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: b1b36743cb98217957f2bc92ba97d66c2292935e
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 29-05-2023 14:37:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/b1b36743cb98217957f2bc92ba97d66c2292935e [^]
Fixes ISSUE-52435: Sorting a grid with selected records works now
The problem was that the object we use to maintain the list of selected records was using the index of the record in the moment
when it was selected as key. If the grid was then resorted, instead of the originally selected records being selected, the new
records that now occupy their positions will be.
To fix this problem, the object that keeps track of the selection will use as keys the ids of the selected rows
---
M web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/BaseRowRender.jsx
M web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/DataGrid.jsx
M web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/SelectionFunctions.js
M web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/SelectionModel.js
M web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/__test__/SelectionFunctions.test.js
M web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/__test__/SelectionModel.test.js
---
|
|
|
(0150447)
|
hgbot
|
2023-05-30 04:38
|
|
|
|
(0150448)
|
hgbot
|
2023-05-30 04:38
|
|
|
|
(0150464)
|
hgbot
|
2023-05-30 09:19
|
|
|