ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Multiple orderby parameters on reverse_related_entries?

June 03, 2011 1:40pm

Subscribe [3]
  • #1 / Jun 03, 2011 1:40pm

    rubberglover

    11 posts

    I’m listing a series of entries via the reverse_related_entries tag. When using the channel:entries tag you can assign multiple ‘orderby’ values with the pipe character, eg. to order posts alphabetically and then by date:

    {exp:channel:entries orderby="title|date"}

    This doesn’t seem to work on the reverse_related_entries tag however…  I want to order the reverse_related_entries by a custom field called ‘rating’ and then by date, so was hoping this would work:

    {reverse_related_entries orderby="rating|date"}

    Unfortunately adding the pipe character to the reverse_related_entries ‘orderby’ parameter seems to kill the orderby statement and it is ignored all together.

    Does the reverse related entries tag officially not support this functionality? If so is there any other way I can order the reverse related entries using multiple values?

  • #2 / Jun 04, 2011 8:34am

    rubberglover

    11 posts

    Anyone got any info on this? 😊

  • #3 / Jun 04, 2011 10:46am

    Boyink!

    5011 posts

  • #4 / Jun 04, 2011 2:53pm

    Greg Salt

    3988 posts

    Hi rubberglover,

    Did the links that Mike posted help you with this?

    Cheers

    Greg

    @Mike, thanks very much.

  • #5 / Jun 07, 2011 6:21pm

    rubberglover

    11 posts

    Thanks for the response guys, sorry for the late reply on my part. Shame that the system doesn’t support this functionality, but glad to see that a feature request is already underway. Reverse related entries is one of my favourite features on EE so anything that makes it a little more flexible would be hugely appreciated!

    Thanks all,
    Andy

  • #6 / Jun 08, 2011 1:23pm

    Kevin Smith

    4784 posts

    Anytime, Andy. Let us know if we can be of help again.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases