I know this is a old post but, did you find a solution ?
I have exactly the same problem and I don’t know how to fix it.
I know that we can’t do an order by on a repeater field, but . Im looking for how to do a meta query on a repeater field.
There is my code :
$args = array( 'post_type' => 'product', 'post_status' => 'publish', 'meta_query' => array( 'relation' => 'OR', array( 'key' => 'date_formation_$_date_session', 'value' => '20191108', 'type' => 'DATE', 'compare' => '=' ), array( 'key' => 'date_formation_$_date_session', 'value' => '20191208', 'type' => 'DATE', 'compare' => '=' ), ) );
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!