Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0051039 | Openbravo ERP | 04. Warehouse management | public | 2022-11-30 11:18 | 2023-01-17 15:54 |
|
Reporter | XABIER_AGUADO | |
Assigned To | AtulOpenbravo | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0051039: Distribution Order AWO : Filter by "Date to" and "Date From" is are not chronologically ordered |
Description | When opening the Distribution Order window in AWO, I choose to filter by "Date to" or "Date From"
Results are not ordered by date
When searching by Date To/ Date From the results should be chronologically ordered, example :
I search for "From 11-11-2022", the results should be :
11-11-11-2022
14-11-2022
16-11-2022
The current results are not properly ordered by date:
16-11-2022
14-11-2022
11-11-11-2022 |
Steps To Reproduce | Log in on AWO
On the menu, select Distribution Order Issue
On the filters, select Date From and introduce a Date
Results are not properly sorted |
Proposed Solution | Today all sorts are by document number instead of date (newest at top) and this should be fixed. |
Additional Information | |
Tags | FASH |
Relationships | |
Attached Files | Sorting.png (985,455) 2022-11-30 11:18 https://issues.openbravo.com/file_download.php?file_id=17899&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2022-11-30 11:18 | XABIER_AGUADO | New Issue | |
2022-11-30 11:18 | XABIER_AGUADO | Assigned To | => Triage Omni WMS |
2022-11-30 11:18 | XABIER_AGUADO | File Added: Sorting.png | |
2022-11-30 11:18 | XABIER_AGUADO | Modules | => Core |
2022-11-30 11:18 | XABIER_AGUADO | Triggers an Emergency Pack | => No |
2022-11-30 11:23 | XABIER_AGUADO | Tag Attached: FASH | |
2022-11-30 15:11 | XABIER_AGUADO | Status | new => feedback |
2022-11-30 15:12 | XABIER_AGUADO | Note Added: 0144253 | |
2022-12-09 10:54 | XABIER_AGUADO | Proposed Solution updated | |
2022-12-09 10:54 | XABIER_AGUADO | Note Added: 0144492 | |
2022-12-15 11:48 | migueldejuana | Note Added: 0144737 | |
2023-01-11 11:23 | hgbot | Note Added: 0145254 | |
2023-01-12 10:04 | vmromanos | Status | feedback => scheduled |
2023-01-12 10:04 | vmromanos | Assigned To | Triage Omni WMS => AtulOpenbravo |
2023-01-17 15:54 | hgbot | Resolution | open => fixed |
2023-01-17 15:54 | hgbot | Status | scheduled => closed |
2023-01-17 15:54 | hgbot | Note Added: 0145508 | |
2023-01-17 15:54 | hgbot | Note Added: 0145509 | |
2023-01-17 15:54 | hgbot | Note Added: 0145510 | |
Notes |
|
|
Waiting on the client to provide more info |
|
|
|
Updated with the latest requirements |
|
|
|
We are ordering only by documentNO -> orderByClause: "documentNo desc".
it should be ordered also by creationDate desc because documentNo is part of an increasing sequence but we should add also date clause to be sure:
orderByClause: "orderDateFrom desc, documentNo desc"
orderByClause: "orderDateTo desc,documentNo desc"
As you can see, in both cases must be ordered descending.
All date filters work like this. We should follow the same approach, see an example:
I search for "From 11-11-2022", the results should be :
16-11-2022
14-11-2022
11-11-2022
I search for "To 16-11-2022", the results should be :
16-11-2022
14-11-2022
11-11-2022 |
|
|
(0145254)
|
hgbot
|
2023-01-11 11:23
|
|
|
|
(0145508)
|
hgbot
|
2023-01-17 15:54
|
|
|
|
(0145509)
|
hgbot
|
2023-01-17 15:54
|
|
|
|
(0145510)
|
hgbot
|
2023-01-17 15:54
|
|
|