Download & Extend

Add user roles as a viewable field within views

Project:Usernode
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

Currently the roles a user belong to can be used as a filter but can't be displayed this adds this ability to usernode.

AttachmentSize
usernode_roles.patch1.63 KB

Comments

#1

Status:active» needs review

#2

I did a manual patch on the latest 5.x dev and it works!

#3

Status:needs review» reviewed & tested by the community

This works with 5.x-dev but I had to uninstall usernode 5.x-1.4 first. It would be great if this could be ported.

#4

Status:reviewed & tested by the community» needs work

There is a small code style issue, there should be spaces around "=>". Then theme_user_roles() does violate the namespace of the module. Isn't there a core function that we could reuse here anyway?

nobody click here