Taxonomy term AND (,) operator does not work In contextual filters, with


validator = taxonomy term
Filter value type = term ids separated by , or +
allow multiple values = true


Giving argument "1+2" works as espected: OR operator

Giving argument "1,2" works as "1+2": OR operator instead of expected AND operator

In both cases, conditions uses operator "IN":
WHERE (( (field_data_field_tags.field_tags_tid IN('1', '2') ) )AND(( (node.status = '1') AND (node.type IN ('flickr_photo')) )))

This is the contextual filter part of my view:

/* Contextual filter: Content: Tags (field_tags) */
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['id'] = 'field_tags_tid';
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['table'] = 'field_data_field_tags';
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['field'] = 'field_tags_tid';
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['default_action'] = 'empty';
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['default_argument_type'] = 'fixed';
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['default_argument_skip_url'] = 0;
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['summary']['number_of_records'] = '0';
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['summary']['format'] = 'default_summary';
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['summary_options']['items_per_page'] = '25';
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['specify_validation'] = 1;
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['validate']['type'] = 'taxonomy_term';
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['validate_options']['vocabularies'] = array(
  'tags' =&gt; 'tags',
);
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['validate_options']['type'] = 'tids';
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['validate_options']['transform'] = 0;
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['validate']['fail'] = 'empty';
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['break_phrase'] = 1;
$handler-&gt;display-&gt;display_options['arguments']['field_tags_tid']['not'] = 0;


How can I set a AND filter? I want to display contents with all values of tags.
I am not the best with deciphering exported settings, but I think you should remove that Contextual Filter and use "Content: Has taxonomy term ID" instead.  Make sure you tick "Allow multiple values" under the More section.  That will result in a chain of AND clauses in the WHERE for the view (well, it does in one that I just looked at).