Add 2 filters for a single field in views I am writing a view code for my module, stuck with writing 2 filters for a single field. 

 $data['taguser']['tag_uid'] = array(
    'title' =&gt; t('Tagged user'),
    'field' =&gt; array(
      'handler' =&gt; 'taguser_views_handler_field_user_name',
      'help' =&gt; t('Display the user name the Item has been assigned to.'),
      'click sortable' =&gt; TRUE,
    ),
    'filter' =&gt; array(
      'handler' =&gt; 'taguser_views_handler_filter_user_options',
      'help' =&gt; t('Filter Action Items by the assigned user.'),
    ),
    'argument' =&gt; array(
      'handler' =&gt; 'views_handler_argument_user_uid',
      'help' =&gt; t('Filter Acton Item by the assigned user.'),
    ),
    'relationship' =&gt; array(
      'help' =&gt; t('Relate a case to the user who have been assigned to the case.'),
      'handler' =&gt; 'views_handler_relationship',
      'base' =&gt; 'users',
      'base field' =&gt; 'uid',
      'label' =&gt; t('Assigned to'),
    ),
  );


i want another filter for this field like 

'filter' =&gt; array(
  'handler' =&gt; 'taguser_views_handler_filter_user_options_list',
  'help' =&gt; t('Only limited user.'),
),


how can i add to it ??
It depends on your version of views, best way is to create the view in views and then export it, you can then tweak the code as needed.

Here is an example if you had a Node Type Filter and a Date Filter

/* Filter: Node: Type */
$handler-&gt;display-&gt;display_options['filters']['type']['id'] = 'type';
$handler-&gt;display-&gt;display_options['filters']['type']['table'] = 'node';
$handler-&gt;display-&gt;display_options['filters']['type']['field'] = 'type';
$handler-&gt;display-&gt;display_options['filters']['type']['value'] = array(
  'rfp' =&gt; 'rfp',
);
/* Filter: Date: Date (node) */
$handler-&gt;display-&gt;display_options['filters']['date_filter']['id'] = 'date_filter';
$handler-&gt;display-&gt;display_options['filters']['date_filter']['table'] = 'node';
$handler-&gt;display-&gt;display_options['filters']['date_filter']['field'] = 'date_filter';
$handler-&gt;display-&gt;display_options['filters']['date_filter']['operator'] = '&gt;=';
$handler-&gt;display-&gt;display_options['filters']['date_filter']['value']['min'] = '2012-01-01 00:00:00';
$handler-&gt;display-&gt;display_options['filters']['date_filter']['value']['max'] = '2012-01-01 00:00:00';
$handler-&gt;display-&gt;display_options['filters']['date_filter']['exposed'] = TRUE;
$handler-&gt;display-&gt;display_options['filters']['date_filter']['expose']['operator'] = 'date_filter_op';
$handler-&gt;display-&gt;display_options['filters']['date_filter']['expose']['label'] = 'Date: Date (node)';
$handler-&gt;display-&gt;display_options['filters']['date_filter']['expose']['identifier'] = 'date_filter';
$handler-&gt;display-&gt;display_options['filters']['date_filter']['expose']['single'] = TRUE;
$handler-&gt;display-&gt;display_options['filters']['date_filter']['date_fields'] = array(
  'node.changed' =&gt; 'node.changed',
);