[MGNLUI-5899] Unable to sort Tasks list order by date Created: 28/May/20 Updated: 10/Aug/20 Resolved: 10/Aug/20 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 6.2.1 |
| Fix Version/s: | 6.2.3 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Viet Nguyen | Assignee: | Robert Šiška |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | 62-UI-2, 622, maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Template: |
|
||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||
| Epic Link: | Support | ||||||||||||||||||||
| Sprint: | Maintenance 18, Maintenance 19 | ||||||||||||||||||||
| Story Points: | 3 | ||||||||||||||||||||
| Description |
|
When an admin is viewing the new task list for publishing requests, sorting by date results in requests being sorted alphabetically, instead of by date. |
| Comments |
| Comment by Robert Šiška [ 30/Jul/20 ] |
|
The problem is that value provider for date column is converting values to String - so String is what the grid sees. Value provider should provide LocalDateTime which is then "converted" with LocalDateTimeRenderer (or some custom renderer, if we want to enforce some format). Incidentally, |