diff --git a/src/Plugin/views/argument_validator/TermMachineName.php b/src/Plugin/views/argument_validator/TermMachineName.php index e7ca888..7c3e8ea 100644 --- a/src/Plugin/views/argument_validator/TermMachineName.php +++ b/src/Plugin/views/argument_validator/TermMachineName.php @@ -90,7 +90,7 @@ class TermMachineName extends Entity { } } - $this->argument->realField = 'tid'; + $this->argument->realField = $this->argument->field; $this->argument->argument = $term->id(); // Property created dynamically.