Skip to content

Commit

Permalink
Merge pull request wp-graphql#45 from kidunot89/bugfix/wp-graphql#44
Browse files Browse the repository at this point in the history
  • Loading branch information
kidunot89 committed Apr 26, 2019
2 parents 880e919 + 2f136e7 commit 604c8a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data/connection/class-product-connection-resolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ public function get_query_args() {
$query_args['tax_query'] = array(); // WPCS: slow query ok.
}
$query_args['tax_query'][] = array( // WPCS: slow query ok.
'taxonomy' => $this->source->taxonomy,
'terms' => array( $this->source->term_id ),
'taxonomy' => $this->source->taxonomyName,
'field' => 'term_id',
'terms' => array( $this->source->term_id ),
);
break;
}
Expand Down

0 comments on commit 604c8a0

Please sign in to comment.