HistogramFacetFor Multiple Dates

Vote:
 

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?

#216362
Feb 05, 2020 4:47
Vote:
 
#216366
Feb 05, 2020 7:14
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.