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.