• Resolved kflai

    (@kflai)


    Hi,

    I created a pod field with bidirectional relationship, and set the Input Type to List View (with reordering). How do I use the pod shortcode to output the items exactly as how the user has reordered the items, eg.

    [pods name=”folder” where=”package.ID='{@ID}'” template=”Folder-List” orderby=”???” ]

    Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @kflai

    When using a query-like shortcode it doesn’t know the order since it’s a separate query.
    You’ll need to query using the current objects field like so:

    [pods field=”your_field_name_that_contains_the_folder_pods”]

    Cheers, Jory

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode Orderby Relationship Field List View’ is closed to new replies.