Home › Forums › Add-ons › Repeater Field › Newbie help with repeater sorting… › Reply To: Newbie help with repeater sorting…
Thanks topdotter…
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.