Sign in

Order posts by additional field

  • This topic has 0 replies, 1 voice, and was last updated 6 days, 8 hours ago by Avatar photonmakeiew.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #8369
    Avatar photonmakeiew

    Hello,

    Is it possible to order tag posts by something else than posts’ id, title, createdAt or modifiedAt?

    I would like to order them by a postViewconfig field I’ve added, like this:

    {{orderby posts ‘postViewConfig.myField’ ‘ASC’}}

    Many thanks for any help given!

    Cheers,

    Nico

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.