What I would like to suggest:
In the filters, we can filter by "In Queue" (True or False). I'd like to see a sort of "In queue".
Why?
I have a content type with some of the nodes in a nodequeue, and others not. I'd like to be able to have the nodes in the nodequeue be shown at the top of the list with all of the other nodes not in a queue be listed below these. I could accomplish this with two sorts:
In queue (desc)
queue position (asc)
(Nodes not in this queue have a position of '0' therefore they show at the top of the list.)
If there is another way to do this sort of sort, please let me know.
Comments
Comment #1
asherry commentedOur client needs exactly the same thing, so I'll assign this to me unless anybody else has worked on this already.
Comment #2
asherry commentedComment #4
asherry commentedNot exactly sure what I missed, but just in case I'm changing this to a patch for the latest 2.x version.
@dpearceMN it's also worth noting that you can probably solve your problem (and mine) temporarily by sorting by qid. (Queue ID) If you set that to descending then anything with a queue id will be sorted before anything without.
I still like having a boolean to choose from though, so hopefully this can make it in. Also this will give you the option to sort by:
In queue
Queue ID (ASC)
Nodequeue Position
Comment #5
asherry commentedMy apologies, I accidentally chose 6.x-2.x and not 7.x-2.x.
Comment #6
othermachines commentedYes, please. I need this to set up "top 5 news" in a larger listing of articles.
Patch applied cleanly, works exactly as advertised. Thanks, @asherry!
Comment #7
dpearcefl commentedCan we please get this committed to the code base?
Comment #9
fizk commentedCommitted. Thanks!
Comment #10
fizk commented