We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Related entries now outputting randomly

How Do I?

IC360 (Oliver Cannell)'s avatar
IC360 (Oliver Cannell)
241 posts
9 years ago
IC360 (Oliver Cannell)'s avatar IC360 (Oliver Cannell)

I’m running EE3 and outputting Related entries, but they’re being listed in a different order every time I refresh the page.

Why are they now being output randomly?

Shouldn’t they be listed in the same order as specified in the Parent entry?

{exp:channel:entries channel="cats"}
 {cat-products}
  {cat-products:title}
 {/cat-products}
{/exp:channel:entries}
       
IC360 (Oliver Cannell)'s avatar
IC360 (Oliver Cannell)
241 posts
9 years ago
IC360 (Oliver Cannell)'s avatar IC360 (Oliver Cannell)

I’ve found that re-editing the Parent Entry and Publishing again, has fixed the Related Entries into position (ie. they no longer outputting randomly every time). Very weird.

       
IC360 (Oliver Cannell)'s avatar
IC360 (Oliver Cannell)
241 posts
9 years ago
IC360 (Oliver Cannell)'s avatar IC360 (Oliver Cannell)

Now I’ve just added another Related product to the Parent Entry, and my whole list of Related products has become jumbled up. What’s going on?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.