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.
精彩评论