Entity Reference + Views + Profile 2 | User Filtering As the title is kinda vague (couldn't for the life of me think of something more creative) here is the case.

I have an Entity Reference field on one of my Content Types that's limited to Users.

The field searched through the users via a dedicated view.

I've installed Profile 2 and added first and last names to the users of my site.

I've added all the view's fields as search parameters in the views settings (username, first name, last name, email) but only the username and email (core drupal 'fields') seem to be able to be searched for whereas the first and last name are the ones I need mostly.

Am I missing something?
I believe its because profiles are an entity unto themselves. So you are referencing users which means that if you want the profile fields to be searchable you will need to add a relationship in the view to User:Profile. Then use this relationship on the profile fields you want searchable.

Alternatively you could use entityreference to refer to the profiles directly from the content type.