Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I don't know is it realy bug, but term's weight is integer, so I think that filter handler must be views_handler_filter_numeric:
// taxonomy weight
$data['taxonomy_term_data']['weight'] = array(
'title' => t('Weight'),
'help' => t('The term weight field'),
'field' => array(
'handler' => 'views_handler_field',
'click sortable' => TRUE,
),
'sort' => array(
'handler' => 'views_handler_sort',
),
'filter' => array(
'handler' => 'views_handler_filter_string', // views/modules/taxonomy.views.inc line 199
),
);
'handler' => 'views_handler_filter_numeric', // views/modules/taxonomy.views.inc line 199
Comments
Comment #1
dawehnerYou know having a real patch always helps to review and apply the patch.
But in general this change seems to make sense.
Comment #2
dawehnerCommitted a patch to 7.x-3.x to reduce the amount of active bugs.
This patch could be backported to 6.x-3.x
Comment #3
dawehnerBackported and pushed ...