I have in my index model, an array of events which contains a date (Unix timestamp) => each object has its array of events.
Example of one of my objects:
I have created with http://www.daterangepicker.com/ for the user to pick a range of dates :
The goal is to havce the user filter my results based on models which have at least 1 result in their events array that is inside the date range.
Is it possible? Is there a preferred method to do this ?
I have access to the two dates in unix timestamp from the date picker but I don’t know how to create a custom filter or widget and what would be the best way to do it?
Thanks in advance !