I have got a PageType called CoursePage and it has a property called "EventDates". EventDates are a collection of Start and End dates.
When I run a query I would like to get the HistogramFacets for all of the Startdates within the EventDates. How can I do that?
I can use this .HistogramFacetFor(x => x.EventDates.Select(d => d.StartDate).FirstOrDefault(), DateInterval.Month), but the issue with this is only dealing with the first startdate.
A CoursePage can have multiple startdate for example first is in 1 feb 2020, the second is 4 of March 2020...etc ect. I need to get a HistogramFacets on all available start dates. Could you please let me know how this can be done?
HI,
I have got a PageType called CoursePage and it has a property called "EventDates". EventDates are a collection of Start and End dates.
When I run a query I would like to get the HistogramFacets for all of the Startdates within the EventDates. How can I do that?
I can use this .HistogramFacetFor(x => x.EventDates.Select(d => d.StartDate).FirstOrDefault(), DateInterval.Month), but the issue with this is only dealing with the first startdate.
A CoursePage can have multiple startdate for example first is in 1 feb 2020, the second is 4 of March 2020...etc ect. I need to get a HistogramFacets on all available start dates. Could you please let me know how this can be done?