Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a bookable entity with a "BAT Calendar Unit Reference" field and the display settings are configured for "Month view". It is correctly showing the monthly calendar but inside of that calendar we get all events from all units that have the same unit type.
The reason for this is that the query parameter unit_ids
remains empty.
I've beeing digging into the code and found the issue in \Drupal\bat_calendar_reference\Plugin\Field\FieldFormatter\BatCalendarReferenceMonthView
. Will post a patch shortly.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3030484-2.bat_.Monthly-unit-calender-always-shows-events-for-all-units.patch | 823 bytes | jurgenhaas |
Comments
Comment #2
jurgenhaasComment #4
acrollet CreditAttribution: acrollet commentedPatch looks good, thanks for the contribution!
Comment #5
jurgenhaasThanks for YOUR quick response. Very encouraging. As we currently implement BAT into a fairly big project it may well be that we find more and we will do our best to properly report and fix them when ever possible.
Thank you so much for providing this framework.