I needed to create a view of issues assigned to the current user so I lifted the currentuid element from views' views_node.inc file. A rough patch is attached. It was created against our svn repository so might not be up to snuff, but I have not configured Drupal's cvs and wanted to get this over to you before I forget. It's very small so hopefully it can still be used. Otherwise, I'll try to swing back by and recreate.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | project_issue_assigned_current_d6.patch | 653 bytes | seanbfuller |
| project_issue_assigned_current.patch | 957 bytes | seanbfuller |
Comments
Comment #1
aclight commentedComment #2
seanbfuller commentedHere's a quick patch for adding this functionality to d6 views 2. It was built against 6.x-1.0-alpha4. I took the liberty of increasing the version. Needs review. Apologies in advance for any formatting issues, but it should just be a quick dump of an array element into project_issue.views.inc's project_issue_views_data(). Thanks!
Comment #3
derieppe commentedHi,
I have patch the project_issue.views file but cant see any new choice "user_asigned" in the views elements.
Something else to do after the file have been patched ?
Best regards
Comment #4
derieppe commentedOk, i have found : after ussing this pacth, it is possible to select the "assigned user" in the "view filter" with active relation to the "logged user"...
So it run for me. Could it be possible to commit this patch in the next version ?