Can't orderby random with Reorder
Hi - I'm really puzzled by this one.
I'm running this code:
exp:low_reorder:entries set="clients" orderby="random" limit="5" disable="categories|category_fields|member_data|pagination|trackbacks"
But it doesn't order randomly, just the same fixed order each time. Have I missed something glaringly obvious?
Replies
Low 4 Apr 2014 14:04
But, why use Low Reorder for a list of entries you want to display in a random order? Why not just use a channel:entries tag?
LR will set the fixed_order param internally, which doesn't support orderby="random".
andyharris 4 Apr 2014 14:06
Well I have it in an embed, which I'm using in a couple of places. One doesn't need to be random, but one does (and limited) so I was hoping to use the same thing but pass in the limit/orderby.
Sounds like I'll need to split it into two which isn't the end of the world, but it'd sure be handy if I didn't have to.
Low 4 Apr 2014 14:08
Well, I guess I could add support for it: check if the orderby param is set and ignore the fixed order if that's the case. Consider it a FR.
andyharris 4 Apr 2014 14:09
Will do - thanks for the prompt support!