This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Issue with result group by meta key

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Issue with result group by meta key Reply To: Issue with result group by meta key

#22287
davidalexanderdavidalexander
Participant

We have done the same for first page load before.
You have added the following function to do the same.

add_filter(‘asp_query_args’, ‘asp_reset_date_filter’);
function asp_reset_date_filter($args) {
if ( isset($_POST[‘autop’]) ) {
foreach ( $args[‘post_meta_filter’] as $k => $v ) {
if ( $v[‘key’] == ‘_event_start’ ) {
unset($args[‘post_meta_filter’][$k]);
}
}
}
return $args;
}

Did you remember this, I am saying to do the same for event type.