I could have sworn there was a way to define a view to say something like "show me a random node from a given queue". It's even mentioned in the README.txt as a possible use case. ;) However, grepping the source, the only support for "random" nodes from a queue seems to be nodequeue_fetch_random(), but that's not exposed to views at all. Am I missing something? Should I write a patch against nodequeue.views.inc for this?

Thanks,
-Derek

Comments

merlinofchaos’s picture

Status: Active » Fixed

filter the view to a queue
sort the view by random

dww’s picture

Sorry I missed the generic views "random" sort order... I get it now. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

blockedmind’s picture

it does not select randomly. it displayes selected queue in random order.

ezra-g’s picture

@blockedmind: limit the queue to only show one node.

blockedmind’s picture

it is already limited to 1.

blockedmind’s picture

so?

welly’s picture

It doesn't select what randomly?

bricej13’s picture

I had the same problem, turns out I had my table sorted by one of the columns. I changed the sort to none and it fixed my problem.