nortmas
6/2/2014 - 8:04 AM

Hook views query alter

$join = new views_join;
$join->construct('field_data_field_program_lots_commercial', 'node', 'nid', 'field_program_lots_commercial_target_id');
$query->add_relationship('field_program_lots_commercial', $join, 'node');
$query->add_where(0, 'field_program_lots_commercial.entity_id', $view->args[0], '=');
function MODULE_NAME_form_views_exposed_form_alter(&$form, $form_state) {
  if ($form['#id'] == 'ID') {
    $form['FIELD_NAME']['min']['#size'] = 5;
  }
}