civicrm/civicrm-drupal — pull request #45 by mcleinn (2013-08-03 15:51:35+00:00)
Title: CRM-12853 Case/Views integration

@Kurund Jalmi

Please see notes add:
http://issues.civicrm.org/jira/browse/CRM-12853

I removed the bugfix mentioned in Note 1, as the code has changed in 4.4, and the bug might have been removed.
The test links still work with 4.4 code:

http://viazni.pakalennie.de/cases
http://viazni.pakalennie.de/activities
http://viazni.pakalennie.de/relationships

CiviCase also appears in the menus for setting up views, but I can't completely check all the configuration details again at the moment.

As an aside dlats@netzero.net wrote about my patch:
"Thanks again for the patch to _civicrm_core_data (activity_id). In looking through your code, I noticed that you specified joins to civicrm_activity and civicrm_contacts as well as adding a relationship to the fields civicrm_case_activity.activity_id and civicrm_case_contact.contact_id. I was able to use just the relationships with out specifying the joins. It seems redundant."

So it is quite possible that some code is redundant, however I am weary to remove anything, as it seems to work.