• Resolved offshorealert

    (@offshorealert)


    I discovered a bug while building the query. Please check line 743 within the file class-solrpower-wp-query.php. You missed a parenthesis in this line:

    $multi_query[] = ‘(parent_’ . $field . ‘:’ . implode( ‘OR’, $terms ) . ‘)’;

    It should be:

    $multi_query[] = ‘(parent_’ . $field . ‘:(‘ . implode( ‘OR’, $terms ) . ‘))’;

    I had to include the parentheses, and now I’m receiving the correct results (including children).

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.