Are the fields used within a field collection the only options to use in contextual filters?

I have different users using field collections to input data and I wanted to create a view that will will all the field collections for them. After I create the view, only the fields used within the field collection are available.

Is there a way to return data with a contextual filter based on author? There doesn't seem to be the option of doing that. I only need each user to see the data they've created.

Thanks.

Comments

Ari Gold’s picture

subscribe

aendra’s picture

subscribe

jmuzz’s picture

Issue summary: View changes
Status: Active » Fixed

Field collections themselves do not have an author. There is some talk about the possibility of adding this here: #1954124: Fields part of field collection are ownerless. For now you should add a relationship to your view and connect it to the host node of the field collection. You will be able to add a contextual filter or a normal filter to only show the ones authored by the current user.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.