Pagination in weekly pagination skips 7 days from now (on search date)

Created on 6 April 2024, 10 months ago
Updated 6 September 2024, 5 months ago

Problem/Motivation

When the calendar view searches only current and future events the navition en week calendar skips 7 days on next instead of finding all events for next week (if the now date is friday, next week will only show friday to saturday/sunday events, never showing monday, tuesday, wednesday and thursday events of future weeks)

Steps to reproduce

  1. Build a weekly calendar view
  2. Add the filter date_field >= today

Proposed resolution

Change the getDatetimePrevious and getDatetimeNext methods of CalendarViewWeekPager so it gets previous sunday and next sunday as the datetime.|

🐛 Bug report
Status

Fixed

Version

2.1

Component

Code

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024