lib/js/app/stores/ExplorerStore.js
function _getDefaultFilterCoercionType(explorer, filter) {
  var propertyType = ProjectUtils.getPropertyType(
    ProjectStore.getProject(),
    explorer.query.event_collection,
    filter.property_name);
  var targetCoercionType = FormatUtils.coercionTypeForPropertyType(propertyType);
  return targetCoercionType;
}
function _getDefaultFilterCoercionType(explorer, filter) {
  var propertyType = ProjectUtils.getPropertyType(
    ProjectStore.getProject(),
    explorer.query.event_collection,
    filter.property_name);
  var targetCoercionType = FormatUtils.coercionTypeForPropertyType(propertyType);
  return targetCoercionType;
}
function _getDefaultFilterCoercionType ( explorer , filter ) { var propertyType = ProjectUtils . getPropertyType ( ProjectStore . getProject ( ) , explorer . query . event_collection , filter . property_name ) ; var targetCoercionType = FormatUtils . coercionTypeForPropertyType ( propertyType ) ; return targetCoercionType ; }
Get the default coercion type for this filter based off the filter's property_name's set type
in the project schema.
@param  {Object} explorer  The explorer model that the filter belongs to
@param  {Object} filter    The filter
@return {String}           The default coercion type
Get the default coercion type for this filter based off the filter s property_name s set type in the project schema .