Guest User

Untitled

a guest
Oct 22nd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. $curFilters[$fieldName]['type'] = CRM_Utils_Type::T_STRING;
  2.  
  3. $options = CRM_Core_PseudoConstant::get('CRM_Core_BAO_CustomField', 'custom_' . $customDAO->cf_id, array(), 'search');
  4.  
  5. if ($options !== FALSE) {
  6.  
  7. $curFilters[$fieldName]['operatorType'] = CRM_Core_BAO_CustomField::isSerialized($customDAO) ? CRM_Report_Form::OP_MULTISELECT_SEPARATOR : CRM_Report_Form::OP_MULTISELECT;
  8.  
  9. $curFilters[$fieldName]['options'] = $options;
  10.  
  11. }
  12.  
  13. break;
  14.  
  15. // I-Mod Giovanni Dal Mas 17102018: add new code lines for case
  16.  
  17. $curFilters[$fieldName]['type'] = CRM_Utils_Type::T_STRING;
  18.  
  19. $curFilters[$fieldName]['operatorType'] = CRM_Report_Form::OP_STRING;
  20.  
  21. break;
  22.  
  23. // E-Mod Giovanni Dal Mas 17102018
Add Comment
Please, Sign In to add comment