For some reason, which I am trying to discover, the posts_fields function defines event_start_date by getting the lowest meta_value from all returned with a post.
I’m using pre_get_posts to filter out a few categories, but I’d like to also use a meta_query, which breaks the main query because in the fields returned the ‘start date’ is not always the meta field with the smallest value. I’m occasionally getting values from ‘_EventDuration’, ‘_EventVenueID’, or ‘_EventOrganizerID’.
What is the logic behind using the min meta_value as opposed to the actual custom field ‘_EventStartDate’?