Problem/Motivation

On a date detail page, the first entry under "Alternative dates" is always hidden.
Regardless of whether you are on that page or on the page of a future date.

Proposed resolution

The correct option would be: the date you are on is not displayed.
Or: all dates are displayed. In this case, the title should be "All dates".

Example: https://www.kulturis.online/de/kalender/7688-fckwdnsday?date_delta=58

Comments

MartinaLewis created an issue. See original summary.

martinalewis’s picture

hexabinaer’s picture

Oh my, you are right. QA failed. Thanks for pointing out!

hexabinaer’s picture

The challenge is this: simply removing the offset in the "alternative dates" display would result in an always rendered block that repeats the very same date instance.

We need to find a way to exclude the current date's delta from the rendered list.

hexabinaer’s picture

Assigned: Unassigned » tobiasb

Fix in the making. A context filter will exclude the current delta in the URL (?date_delta=n) and handle a NULL fallback.

Trade-off: When the date page has no delta parameter (e. g. after adding a new node) the list will show all date instances, including the one shown on top of the page.

I think this will cause the least confusion. Again, thanks for pointing out.

tobiasb’s picture

Title: "Alternative dates" hides the first entry » "Alternative dates" should not omit the first entry

  • 549bf55d committed on 2.1.x
    Issue #3427141: "Alternative dates" should not omit the first entry
    
tobiasb’s picture

Status: Active » Fixed

Fixed with the upcoming release 2.1.0.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.