Closed (fixed)
Project:
OpenCulturas
Version:
2.1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
11 Mar 2024 at 16:57 UTC
Updated:
5 Apr 2024 at 15:49 UTC
Jump to comment: Most recent
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.
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
| Comment | File | Size | Author |
|---|---|---|---|
| Bildschirmfoto 2024-03-11 um 17.56.09.png | 1.37 MB | martinalewis |
Comments
Comment #2
martinalewisComment #3
hexabinaerOh my, you are right. QA failed. Thanks for pointing out!
Comment #4
hexabinaerThe 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.
Comment #5
hexabinaerFix 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.
Comment #6
tobiasbComment #8
tobiasbFixed with the upcoming release 2.1.0.