How to create a contextual filter using a current user multivalue field as the default value?
The idea is to filter content in a view, based on a value present in a multivalue field that the currently logged in user account has.
I tried using views php in the default contextual filter:
$user_profile = user_load($user->uid); $statusvalue= $user_profile->field_status['und']['value']; return $statusvalue;
..but that works for a single value and thus does not work in my case.