blackbluegl / calendar-component

initial Vaadin8 calendar-component
Apache License 2.0
11 stars 21 forks source link

Month view: entries for one day are not displayed in chronological order #45

Closed lemagnecharle closed 4 years ago

lemagnecharle commented 4 years ago

Later appointments are displayed before earlier appointment in month view. The error always seems to occur when an entry has more than a "30 minutes" timeslot.

Steps to reproduce:

week view: 01

month view: 02

lemagnecharle commented 4 years ago

itemSortOrder solved the issue!

Found the method org.vaadin.addon.calendar.Calendar#setItemSortOrder, set itemSortOrder to org.vaadin.addon.calendar.client.CalendarState.ItemSortOrder#START_DATE_DESC and everything is sorted according to date now.