----------------------------------------
* CRM-17101: civicrm_api3_basic_get does not work for SQL operators on custom fields.
https://issues.civicrm.org/jira/browse/CRM-17101
);
}
else {
- $query->where(CRM_Core_DAO::createSQLFilter('a.' . $column_name, $value, $type));
+ $query->where(CRM_Core_DAO::createSQLFilter("{$table_name}.{$column_name}", $value, $type));
}
}
}
/**
* Test searching on custom fields with less than or equal.
- *
+ *
* See CRM-17101.
*/
public function testEventGetCustomFieldLte() {