Support » Plugin: Pods - Custom Content Types and Fields » Ordering by multiple fields issue

  • Resolved test3be

    (@test3be)


    Hi,

    I’m trying to sort a custom post type by multiple fields.

    I tried the following but it doesn’t work.

    [pods name="product" limit="-1" template="products" orderby="manufacturer.name ASC, title ASC"]

    “manufacturer” is a custom taxonomy i created with pods.

    Anyone could help?

    Thanks a lot

    Benjamin

Viewing 4 replies - 1 through 4 (of 4 total)
  • test3be

    (@test3be)

    Any chance to get help on this? Thanks 🙂

    Hey guys, I’m sorry to be asking again but I replay need a solution quickly to fix my issue. Anyone could help?

    Thanks

    Plugin Author Jim True

    (@jimtrue)

    My apologies for just now responding to your question, but our support policy in the forums states that if you need faster assistance than what we do on the forums, to escalate to our Slack Chat at https://pods.io/chat/ in the #support channel.

    The problem is you’re using title in the orderby; that’s not a valid value (which is what the SQL error you received reports, but might be hard to read), use post_title instead and it should work fine.

    If you’re still having issues, please jump on our Slack for assistance.

    Plugin Author Jim True

    (@jimtrue)

    We’re closing this one as we’ve provided a solution; if you are still experiencing this issue, please re-open this support ticket by replying or you are welcome to join us on our Slack Chat at https://pods.io/chat/ in the #support channel if you’re still experiencing issues.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Ordering by multiple fields issue’ is closed to new replies.