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

dawehner’s picture

Status: Needs review » Needs work

You know having a real patch always helps to review and apply the patch.

But in general this change seems to make sense.

dawehner’s picture

Version: 7.x-3.0-rc1 » 6.x-3.x-dev
Status: Needs work » Patch (to be ported)
Issue tags: +Novice

Committed a patch to 7.x-3.x to reduce the amount of active bugs.

This patch could be backported to 6.x-3.x

dawehner’s picture

Status: Patch (to be ported) » Fixed

Backported and pushed ...

Automatically closed -- issue fixed for 2 weeks with no activity.