Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRM-19472 - Export headers for relationships are in machine name format #9187

Merged
merged 2 commits into from
Oct 14, 2016
Merged

CRM-19472 - Export headers for relationships are in machine name format #9187

merged 2 commits into from
Oct 14, 2016

Conversation

sqweets
Copy link
Contributor

@sqweets sqweets commented Oct 7, 2016


----------------------------------------
* CRM-19472: Export headers for relationships are in "machine name" format
  https://issues.civicrm.org/jira/browse/CRM-19472
@civicrm-builder
Copy link

Can one of the admins verify this patch?

@eileenmcnaughton
Copy link
Contributor

test this please

@@ -2118,6 +2117,8 @@ public static function setHeaderRows($field, $headerRows, $sqlColumns, $query, $
$headerRows[] = $field;
}

self::manipulateHeaderRows($headerRows, $contactRelationshipTypes);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA'd the PR, works fine and corrects the header for relationships. Just thinking if we could avoid calling of this method for every field and instead move this call to a little upward immediately after $headerRows of contact relationships are evaluated ?

@colemanw
Copy link
Member

@sqweets could you please make the recommended change and we'll get this merged, thanks.

----------------------------------------
* CRM-19472: Export headers for relationships are in "machine name" format
  https://issues.civicrm.org/jira/browse/CRM-19472
@sqweets
Copy link
Contributor Author

sqweets commented Oct 14, 2016

The recommended change has been made. That is a better spot, thanks.

@colemanw
Copy link
Member

@civicrm-builder add to whitelist

@eileenmcnaughton eileenmcnaughton merged commit 251deab into civicrm:master Oct 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants