Problem/Motivation
Currently the BookableCalendarOpeningInstanceViewsData class provides views fields for the properties of the smartdate field (start, end etc) but AFAICT the base smart date field itself is not available to Views like it is via a field UI smartdate field (can use the smartdate_default formatter in Views).
Proposed resolution
Attached patch adds a views field for base field 'date' (type smartdate) on the booking instance entity type.
Remaining tasks
Hoping this can be removed when the BookableCalendarOpeningInstanceViewsData class becomes unnecessary?
| Comment | File | Size | Author |
|---|---|---|---|
| bookable_calendar.smartdate_view_field.patch | 1.76 KB | bgilhome |
Comments
Comment #3
josh.fabeanLooks good, got that merged.
Comment #4
josh.fabeanComment #5
josh.fabean