The idea of using a View to restrict the insertion of nodes into a queue has been mentioned several times.

Let's use this issue to centralize discussion for this feature.

Comments

fizk created an issue. See original summary.

fizk’s picture

Status: Active » Needs review
StatusFileSize
new21.54 KB

This patch creates a new nodequeue_views_filter submodule.

Views that use the new "Nodequeue Filter" display will appear under the "Filters" section of the queue edit page. Your view should take a Node ID as an argument.

Nodequeue Views Filter

fizk’s picture

StatusFileSize
new60.86 KB

Status: Needs review » Needs work

The last submitted patch, 2: 2787237-nodequeue-restrict-nodes-by-views.patch, failed testing.

The last submitted patch, 2: 2787237-nodequeue-restrict-nodes-by-views.patch, failed testing.

The last submitted patch, 2: 2787237-nodequeue-restrict-nodes-by-views.patch, failed testing.

fizk’s picture

Status: Needs work » Needs review
StatusFileSize
new21.74 KB

Fix to make tests pass.

bohus ulrych’s picture

Status: Needs review » Needs work

Hello @fizk,
thank you very much for this feature! It is definitely useful - it e.g. solves my issues with nodes and entity translation. Now I have full control what should be suggested in the autocomplete.
It seems to be working great.
Just one question - not sure if it is feature or bug: when I selected this "Filter by View" then still "Types" are considered for filtering results. I would expect that I will define it only in the Views. I think it could work like this but it should be somewhere mentioned.
Thanks

fizk’s picture

@Bohus That's a good point. I'll add a description to make it more clear.

SandraVdv’s picture

The last comment is from one year ago. Is anything being done to get this functionality into the next release?
I agree that this would be a useful feature for this module.