Home Forums Front-end Issues order posts by relationship field


order posts by relationship field

  • Hi, in know there are a couple of threds under that heading but my problem is slightly different and its driving me nuts for a couple of days.

    I have 2 post types

    1. customer
    2. addresses

    the addresses have a field with a order no
    there is allways 1 address attached to the customer

    what im trying to achieve is querying all customers ordered by the order no in the from the address in the relationship field.

    im know doing it by building complex array, mybe anyone has an idea how to solve that in a query.

    Thanks in advance

  • Hi @mc_gee

    Could you please share some screenshots of the data and the JSON export file of your field group?


Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘order posts by relationship field’ is closed to new replies.