Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: merlinofchaos commentedI agree. Committed to both 3.x and 2.x branches.