The attached patch adds a new filter to the standard Node: XXX filters. This filter allows a view creator to pick specific nodes that act as either the largest possible set of nodes return, or exclude specific nodes from inclusion in the view.
For example, let say I never want the Foo Bar story to appear in a view. I could remove it with this filter.
Conversely, if I wanted to provide a spreadsheet like node, with only the specific nodes I select in it, I could use the limit feature.
For most users, this is of little practical value, but I need it for the views based node selector I'm working on and I think it has enough value to make it part of the core views distro.
Cheers,
-Mark
Comments
Comment #1
mfredrickson commentedoops. forgot the patch.
Comment #2
merlinofchaos commenteddrupal.org has 100k nodes.
This filter would kill the site if someone added it! There needs to be a better way than to simply put all nodes in a select box. Maybe an autocomplete + add button could work though that'll take some effort.
Comment #3
merlinofchaos commentedComment #4
mfredrickson commentedMy thought on that was to eat my own dog food in the long run. I need this functionality (be in it views or in an add-on module) for the views based node selector. This form element can be used to select nodes from a view. I think you can see where I'm going with this...
I'd be happy to wait for this patch until I have the views node selector stuff done, but I thought I'd send in the patch first for review. But spending time on an autocomplete or other widget doesn't sound like a worthwhile use of time.
I'm moving this to postponed. When I have the selector ready, I'll update the patch to use it and mark this as needs review again.
Cheerio,
-M
Comment #5
catchassuming this is won't fix by now.