The definition for all fields in views integration for casetracker is in some way, harcoded.

For example:

 function render($values) {
    if ($values->casetracker_case_case_priority_id) {
      return check_plain(casetracker_case_state_load($values->casetracker_case_case_priority_id, 'priority'));
    }
  }

Is only valid is node is the base table. But if a user want to perform a comment based view and join to the node comment using a relationship, and then get the status for this case, casetracker will not render this fields.

Patch attached.

CommentFileSizeAuthor
casetracker-field-aliases.patch4.89 KBdagmar
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jmiccolis’s picture

Status: Needs review » Fixed

Committed. Those fixes were quite needed, thanks for your help.

Status: Fixed » Closed (fixed)

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

Boobaa’s picture

This one solves #755994: Assign to filter hides the content of some fields as well. Any chance for a release soonish with this change included?

jmiccolis’s picture

Thanks for the reminder, I've just cut the release. It should be packaged and available shortly.