[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:
causality
dependency
depends upon MGNLUI-5987 Date column format is strange in M6 Apps Closed
duplicate
is duplicated by MGNLUI-6050 Ordering of Tasks by "Last change" do... Closed
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, MGNLUI-5987 which was closed yesterday, introduces the same issue into all other apps.

Generated at Mon Feb 12 09:31:09 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.