It doesn't seem to filter the nodes that are in certain queue.
steps to reproduce the error:
created a node queue and in views created a page to show the nodes that (among other criteria) aren't in that queue. However, I still get all nodes (i.e. all that fulfill other criteria but not the one that they shouldn't be in the queue i specified).

any advice?

Comments

omnyx’s picture

I believe the problem is in the sql query. Does it take into account that one node can be a part of many queues and that simple "SELECT * FROM nodequeue_nodes WHERE qid<>5 (or whatever the queue number)" only disposes of nodes that are only in queue 5 and no other queue.

omnyx’s picture

exactly - I tested this and it's true i.e. it only eliminates the nodes that are only in the queue I specified and not any other queue

merlinofchaos’s picture

Are you sure you're talking about Nodequeue 2 here? Nodequeue 2 goes out of its way to to do this. It has a special filter named "Nodequeue: not in a queue" that does the extra work necessary on the join.

Nodequeue 1 did not have this functionality, but Nodequeue 1 is officially unsupported.

omnyx’s picture

Status: Active » Fixed

i am very sorry. You are absolutely right... it completely slipped my mind and I didn't see it at all
thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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