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
Comment #1
merlinofchaos commentedfilter the view to a queue
sort the view by random
Comment #2
dwwSorry I missed the generic views "random" sort order... I get it now. Thanks!
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
blockedmind commentedit does not select randomly. it displayes selected queue in random order.
Comment #5
ezra-g commented@blockedmind: limit the queue to only show one node.
Comment #6
blockedmind commentedit is already limited to 1.
Comment #7
blockedmind commentedso?
Comment #8
welly commentedIt doesn't select what randomly?
Comment #9
bricej13 commentedI 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.