-
- Downloads
[FIX] web: calendar's event not correctly ordered in month view
Before this commit, events were sorted by ID in month view. Event A occurring after event B would be placed on top of B instead of below. Steps to reproduce: * Go in the calendar app * Insert a event at 12:00 * Insert a event at 8:00 * Insert a event at 14:00 * Go in view month the events are not sorted (BUG) In month view, events are forced to be "allday", so the sequence used can't be based on its time but only on its ID. To fix this, this commit doesn't force the "allday" flag anymore. Task ID: 2183249
Showing
- addons/web/static/src/js/views/calendar/calendar_model.js 0 additions, 1 deletionaddons/web/static/src/js/views/calendar/calendar_model.js
- addons/web/static/src/js/views/calendar/calendar_renderer.js 1 addition, 1 deletionaddons/web/static/src/js/views/calendar/calendar_renderer.js
- addons/web/static/tests/views/calendar_tests.js 29 additions, 0 deletionsaddons/web/static/tests/views/calendar_tests.js
Loading
Please register or sign in to comment