Notes |
|
(0111490)
|
caristu
|
2019-05-06 09:53
(edited on: 2019-05-06 09:55) |
|
Repository: erp/devel/pi
Changeset: 3d7237675ba21defe75727ff05f83b132cee64ad
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon May 06 09:33:11 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3d7237675ba21defe75727ff05f83b132cee64ad [^]
fixes issue 40735: wrong export to CSV having the grid filtered by a date time
After the following changeset[1], exporting the grid to CSV was not working properly having the grid filtered by a date time column. Although the fix is correct, it caused the criteria sent to the datasource in this type of requests to stop being handled properly.
To avoid this problem, when exporting to CSV a grid filtered by a date time column we send in the criteria the plain date (in the same way as it is being done for the standard grid DS requests) and the datasource will take care of building the date filter properly through the AdvancedQueryBuilder.
[1] https://code.openbravo.com/erp/devel/pi/rev/90ee5c965823996a7b4c0ae17d3a3ca71e3fc703 [^]
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
|
|
|
(0111497)
|
hgbot
|
2019-05-06 12:16
|
|
Repository: erp/devel/pi
Changeset: 3f7bc51bb14fc13152d8805cc537bc26e068ced3
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon May 06 12:12:55 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3f7bc51bb14fc13152d8805cc537bc26e068ced3 [^]
related to issue 40735: minor code improvements
- Update copyright year
- Removed duplicated null check for "record"
- Initialize "i" when needed
- Remove useless assignment to "drawArea"
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
---
|
|
|
|
|
|
(0111530)
|
hgbot
|
2019-05-07 11:15
|
|
Repository: erp/devel/pi
Changeset: 8c40baeab17c54750daded7b0d45998615531b47
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue May 07 11:14:50 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8c40baeab17c54750daded7b0d45998615531b47 [^]
related to issue 40735: add test case
Added test case to cover the export of a grid filtered by a date column
---
M src-test/src/org/openbravo/test/AllAntTaskTests.java
M src-test/src/org/openbravo/test/base/TestConstants.java
A src-test/src/org/openbravo/test/datasource/GridExport.java
---
|
|
|
|
|
|
|
|