When I use field_taxonomy_term_status on views as filter criteria I get a blank Options

  • Select All
  • (Blank text but selectable)
  • (Blank text but selectable)

I assume that the issue is on the taxonomy_tools_publisher.install because the allowed_values has no text attached.

<?php
'field_taxonomy_term_status' => array(
  'field_name' => 'field_taxonomy_term_status',
  'type' => 'list_boolean',
  'settings' => array(
    'allowed_values' => array(
      0 => '',
      1 => '',
    ),
  ),
),
?>

I think that this should be changed into

<?php
'field_taxonomy_term_status' => array(
  'field_name' => 'field_taxonomy_term_status',
  'type' => 'list_boolean',
  'settings' => array(
    'allowed_values' => array(
      0 => 'No',
      1 => 'Yes',
    ),
  ),
),
?>

Comments

martins.bertins’s picture

Status: Active » Closed (fixed)