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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jurgenhaas created an issue. See original summary.

jurgenhaas’s picture

Status: Active » Needs review
FileSize
823 bytes

  • acrollet committed 0a56b65 on 8.x-1.x authored by jurgenhaas
    Issue #3030484 by jurgenhaas: Monthly unit calender always shows events...
acrollet’s picture

Status: Needs review » Fixed

Patch looks good, thanks for the contribution!

jurgenhaas’s picture

Thanks 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.

Status: Fixed » Closed (fixed)

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