CiviCRM already allows to access custom data in views, which works really awesome.
But it seems very specific eg . we can use contact related custom data only in the contact views, or we can not use event, contact related custom data in participant views.
Following patch will allows to extend this custom data further.
Patch will make available contact related custom data in participant, contribution, activity and membership views also it allows event related custom data in participant views. In this way we can extend CiviCRM custom data in different related views too.