Support

Account

Home Forums Add-ons Repeater Field Echo Repeater-Field alphabetically query_posts Reply To: Echo Repeater-Field alphabetically query_posts

  • ohh, not absolutely solved, sorry.

    With the code above I get the list of all sub custom field values “artistname”, but not 100% correct. They are still sorted by posts (query-type “events”) somehow.

    If events have only one row it works fine
    exmpl:
    Event 1 – artist – Abba
    Event 2 – artist – Duran Duran
    Event 3 – artist – Foo Fighters

    But if an events has more then one row, not the row itselves is posted alphabeticaly.
    exmpl:
    Event 4 – artist – Coldplay, Aerosmith, Eminem

    The list looks like this:

    • Abba (event 1)
    • Coldplay (event 4.1)
    • Aerosmith (event 4.2)
    • Eminem (event 4.3)
    • Duran Duran (event 2)
    • Foo Fighters (event 3)

    It should look lite that, 100% alphabeticaly:

    • Abba (event 1)
    • Aerosmith (event 4.2)
    • Coldplay (event 4.1)
    • Duran Duran (event 2)
    • Eminem (event 4.3)
    • Foo Fighters (event 3)