Skip to content

Commit

Permalink
CRM-19830 fix headers on search builder
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Feb 23, 2017
1 parent 974759d commit c6eb636
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CRM/Contact/Selector.php
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,9 @@ public function &getColumnHeaders($action = NULL, $output = NULL) {
elseif (isset($this->_query->_fields[$prop]) && isset($this->_query->_fields[$prop]['title'])) {
$title = $this->_query->_fields[$prop]['title'];
}
elseif (isset($this->_query->_pseudoConstantsSelect[$prop]) && isset($this->_query->_pseudoConstantsSelect[$prop]['pseudoconstant']['optionGroupName'])) {
$title = CRM_Core_BAO_OptionGroup::getTitleByName($this->_query->_pseudoConstantsSelect[$prop]['pseudoconstant']['optionGroupName']);
}
else {
$title = '';
}
Expand Down

0 comments on commit c6eb636

Please sign in to comment.