This is useful when constructing a "bulk edit" style of view.

CommentFileSizeAuthor
nodequeue.views_.ajax_.patch1.33 KBbdragon

Comments

merlinofchaos’s picture

Is it possible to do this without the node load?

bdragon’s picture

Yeah, but I was going for the "clean and simple" method over the "fast" method....

I thought about doing it without node_load, but then I decided that as the normal use case for such a field would be an admin interface where a large node_load hit doesn't matter as much as it would on a normal user accessible page...

bdragon’s picture

Hmm, actually there might NOT be a way around it... The node object passed in ends up going off to the queue owner for further use, and nodequeue_api_subqueues() function specifically states that $node is "The loaded node object being checked."

merlinofchaos’s picture

Status: Needs review » Reviewed & tested by the community

Oh poo. That DOES need a loaded node. Ok, that makes this easy, then.

merlinofchaos’s picture

Status: Reviewed & tested by the community » Fixed

Committed!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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