This is a simple patch to add the ability to create a relationship between a workflow and the user setting the workflow in Views. This allows you to display or filter on user information as relating to the current workflow status for instance.

Thanks to the wonderful relationship feature in Views 2 this is remarkably easy. The small code block added in the patch was lifted as is from modules/views/modules/node.views.inc.

This is my first patch submission so hopefully I did this correctly.

CommentFileSizeAuthor
user_relationship.patch1013 bytesdawansv

Comments

dawansv’s picture

Status: Patch (to be ported) » Needs review

Changed to correct status

jcisio’s picture

Status: Needs review » Closed (duplicate)

Thanks dawansv for the patch. But could you merge it with #702710: Support for UID/name in Views for one patch that solves the whole problem?

pbeakley’s picture

subscribe

dawansv’s picture

Based on what I see, the latest code in #702710: Support for UID/name in Views already has code similar to mine included, so the merge is done. Thanks for pointing it out.