What/Why

The taxonomy_machine_name module currently sets the views argument to tid in the argument validation handler. Similar to the issue reported in https://www.drupal.org/project/taxonomy_machine_name/issues/2883469, this breaks contextual filters to a view by the machine name.

Additionally, the current code only allows for 1 contextual filter to the view--a multivalue filter value such as mname_1+mname2 would not work.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

angrytoast created an issue. See original summary.

angrytoast’s picture

Attached is a patch that:

  • Remove the $this->argument->real_field = 'tid'; aspect of the view argument validator, which sets the incorrect DB column name
  • Adds the ability to have multiple machine name contextual filter values via + or ,