Closed (fixed)
Project:
Nodequeue
Version:
5.x-2.0
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2008 at 10:17 UTC
Updated:
1 May 2008 at 04:12 UTC
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
Comment #1
omnyx commentedI 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.
Comment #2
omnyx commentedexactly - 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
Comment #3
merlinofchaos commentedAre 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.
Comment #4
omnyx commentedi am very sorry. You are absolutely right... it completely slipped my mind and I didn't see it at all
thanks!
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.