This patch adds a filter handler for node_access for use with Views where the base table is not node. While the node module successfully rewrites Views queries against the node base table, any views using a different base table do not have their queries rewritten even when establishing a relationship back to the node table. This filter fixes that.
Patched against Views HEAD (DRUPAL-6--3) and patches successfully against Views 2.5.
| Comment | File | Size | Author |
|---|---|---|---|
| views_node_access.patch | 2.99 KB | yhahn |
Comments
Comment #1
merlinofchaos commentedI agree. Committed to both 3.x and 2.x branches.