I'm able to select the phone fields in views, but the values are not being displayed? Does phone.module have to include a views call, like "_views_tables"?

Comments

jasonwhat’s picture

I'm looking for this answer also. I think the hook for views is contained in this code in the text cck module

case 'filters':
      $allowed_values = explode("\n", $field['allowed_values']);
      $allowed_values = array_map('trim', $allowed_values);
      $allowed_values = array_filter($allowed_values, 'strlen');
      if (count($allowed_values)) {
        return array(
          'default' => array(
            'list' => drupal_map_assoc($allowed_values),
            'list-type' => 'list',
            'operator' => 'views_handler_operator_or',
            'value-type' => 'array',
          ),
        );
      }
      else {
        return array(
          'like' => array(
            'operator' => 'views_handler_operator_like',
            'handler' => 'views_handler_filter_like',
          ),
        );
      }
      break;
  }
}
mshaver’s picture

After doing some more testing, I think this is only a problem with the "Table View" in views? Maybe it's a views issue? I know that this field excludes the text options, which may have something to do with it?

specialtouch’s picture

Status: Active » Closed (duplicate)

This is same as this bug.