'title' => ts('Activity Type'),
'name' => 'activity_type',
'type' => CRM_Utils_Type::T_STRING,
- 'searchByLabel' => true,
+ 'searchByLabel' => TRUE,
),
'activity_status' => array(
'title' => ts('Activity Status'),
'name' => 'activity_status',
'type' => CRM_Utils_Type::T_STRING,
- 'searchByLabel' => true,
+ 'searchByLabel' => TRUE,
),
);
$fields = array_merge($Activityfields, $exportableFields);
}
// it's necessary to know which of the fields are from string data type
if (isset($field['type']) && $field['type'] === CRM_Utils_Type::T_STRING) {
- $stringFields[] = $name;
+ $stringFields[] = $name;
}
// it's necessary to know which of the fields are searchable by label
if (isset($field['searchByLabel']) && $field['searchByLabel']) {
- $searchByLabelFields[] = $name;
+ $searchByLabelFields[] = $name;
}
}
// Add javascript
*
* @return array
*/
- public static function getSearchBuilderOperators($fieldType = null) {
+ public static function getSearchBuilderOperators($fieldType = NULL) {
$builderOperators = array(
'=' => '=',
'!=' => '≠',