Closed (fixed)
Project:
Project
Version:
6.x-1.x-dev
Component:
Views integration
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
8 Aug 2009 at 00:36 UTC
Updated:
22 Aug 2009 at 01:30 UTC
Jump to comment: Most recent file
Thanks to #539676: Expose {project_release_supported_versions} data to views it's now possible to define a relationship from projects to releases associated with that project. This lets you have a view of project nodes, but you can pull in some release-specific fields for each project. However, that relationship has to use {project_release_nodes} as the base table, since we need to JOIN on {project_release_nodes}.pid. But, that means you can't get to all the node properties of the release nodes like {node}.created, etc. For that, we need to be able to add a relationship from {project_release_nodes}.nid to {node}.nid.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 543326-1.project_release_nodes_to_node.patch | 1.11 KB | dww |
Comments
Comment #1
dwwLike so. I think we do *not* want that implicit JOIN information from {project_release_nodes}.pid to {project_projects}.nid. I believe explicit relationships are better for this stuff...
Comment #2
dwwCommitted to HEAD.