Fix issue on simple search.

This commit is contained in:
Mateus Machado Luna 2019-05-06 16:02:52 -03:00
parent 8e27427c59
commit cb63335843
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ class Search_Engine {
if ( $this->is_tainacan_search && !empty( $this->relationships ) ) {
$relationships = implode(',', $this->relationships);
$join .= " LEFT JOIN $wpdb->posts AS p2 ON (m.meta_value = p2.ID AND meta_key IN ($relationships)) ";
$join .= " LEFT JOIN $wpdb->posts AS p2 ON (m.meta_value = p2.ID AND m.meta_key IN ($relationships)) ";
}
return $join;
}