开发者

Drupal 7 Views Restrict to uid of current user

开发者_高级运维I have a bugs view which shows all the bug content types. My questions is, how can I limit the view to only show bugs that have assigned_to equal to the logged in user?


You can add a filter... when you edit the view...

add filter for the current user...


You need to establish a relationship between your bug content type and the logged in user in the views.Once you establish the relationship the set the appropriate filters as logged in user. Hope this helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜