Home › Forums › Add-ons › Repeater Field › Newbie help with repeater sorting… › Reply To: Newbie help with repeater sorting…
I have looked at various articles but like that one, most are based upon having expected results in the rows to sort by.
My request seems fairly simple – I can easily sort posts based upon a date picker field in a non repeating field …. so why is it so difficult in a repeater – or better still where do I find the instructions.
I have been told by Support that the following should work … but I cannot get it to work.
‘post_type’ => ‘films’,
‘posts_per_page’ => 10,
‘meta_query’ => ‘film_captures_%_capture_date’,
‘orderby’ => ‘meta_value’,
‘order’ => ‘DESC’
Really am desperate to get this working before I have to ditch it and go another route so any thoughts or guidance would be gratefully received.
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!
CPT registration is coming to ACF! We demoed the new feature during the most recent session of ACF Chat Fridays. Check out the summary for the details. https://t.co/k2KQ3WWBAz— Advanced Custom Fields (@wp_acf) March 7, 2023
© 2023 Advanced Custom Fields.