emanuelefricano93 / frxjs-Ngx-Timeline

NgxTimeline Angular Library
28 stars 9 forks source link

Sort by date grouping #25

Closed Maflend closed 1 year ago

Maflend commented 1 year ago

Hello. I would like to be able to specify how I want to sort the groupings. The default is sorted from top to bottom in ascending order. But I want to see up-to-date information first and then outdated information

emanuelefricano93 commented 1 year ago

Hello @Maflend from the demo app page https://emanuelefricano93.github.io/frxjs-Ngx-Timeline/

you can try to revert the sort order

As described in the readme you can set the property reverseOrder to true

Maflend commented 1 year ago

@emanuelefricano93 Sorting doesn't work if I set "Group events by" = Year. I expect that when sorting reverse, 2024 will go first and then 2023. If I select "Group events by" = Month Year, then everything is sorted correctly

Maflend commented 1 year ago

image image

emanuelefricano93 commented 1 year ago

Ok this is another point :) let me check and I will release the new version soon

emanuelefricano93 commented 1 year ago

Hello @Maflend ,

Just released version 2.2.1 with the fix requested Here you can check the fix: https://emanuelefricano93.github.io/frxjs-Ngx-Timeline/

Thanks again to raise the issue and to use the library! Let me know if we can close the issue

Maflend commented 1 year ago

@emanuelefricano93 Cool. You can close. Thank you!!!

emanuelefricano93 commented 1 year ago

Perfect :)