Commit 805bf779 authored by aspilicious's avatar aspilicious Committed by tim.plunkett
Browse files

fixed taxonomy relationship test

parent 0c88f699
......@@ -71,8 +71,8 @@ function query() {
$def['table'] = 'taxonomy_term_data';
if (!array_filter($this->options['vocabularies'])) {
$term_node = $this->query->add_table('taxonomy_index', $this->relationship);
$def['left_table'] = 'taxonomy_index';
$taxonomy_index = $this->query->add_table('taxonomy_index', $this->relationship);
$def['left_table'] = $taxonomy_index;
$def['left_field'] = 'tid';
$def['field'] = 'tid';
$def['type'] = empty($this->options['required']) ? 'LEFT' : 'INNER';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment